Custom python location on target #python


I'm new to the Yocto Project. It is my first time posting a Yocto related question. If this is the wrong place, I apologize in advance. 
I need to change the python installation location on my target from /usr/bin and /usr/lib to somewhere under /media.
I have searched around online and tried looking in the recipe:
But I have not made any progress so far.
Any help would be super appreciated!
Best regards,

Join to automatically receive all group messages.