Hi Ive been searching around on the interwebs for a while now but cant seem to find anything that covers what Id like using disutils.
Lets say I have a python package dependant on various dependancies. I know I can use a 'setup.py' and 'disutils' to configure what dependancies are needed and have them install using 'easy_install'. Thats great but I would like to have my package extracted into a new 'dir', in lets say '/usr/local/share/', amend the .bashrc to include the relevant path and chmod the the '.py' to allow execution from any command terminal.
Is this even possible using disutils? As already mentioned Ive seen a few options for making packages executable such as using .zip extensions and some command line kungfu (source) but I cant seem to find away to achieve all the above.
I have already looked at this StackOverflow question/answer and it does not fully cover what I am trying to do. It doesnt explain how to extract to a a custom dir location.
Any pointers would be great please.