Re: how to find site-packages path (Michael Hoffman) - use distutils/modified

2005-01-19 Thread Philippe C. Martin
Thanks David. Philippe >>Hi Philippe >>You may want to have a look at >>https://sourceforge.net/tracker/?func=detail&atid=305470&aid=793070&group_id=5470 >>This was originally a patch to distutils which enabled removing the >>source (i.e. only distributing compiled files). I have now attach

Re: how to find site-packages path (Michael Hoffman) - use distutils

2005-01-19 Thread David Fraser
Philippe C. Martin wrote: I actually target Unix and windows so pyexe won't cut it I'm afraid - same issue with Inno. As far as the site-package target, I don't fully understand your relunctancy. Just as my potential users might not own a compiler, they might not be computer proficient enough to ea

Re: how to find site-packages path (Michael Hoffman) - use distutils

2005-01-18 Thread Philippe C. Martin
I actually target Unix and windows so pyexe won't cut it I'm afraid - same issue with Inno. As far as the site-package target, I don't fully understand your relunctancy. Just as my potential users might not own a compiler, they might not be computer proficient enough to easily understand how to ch

Re: how to find site-packages path (Michael Hoffman) - use distutils

2005-01-18 Thread vincent wehren
Philippe C. Martin wrote: Why would you want to copy any *.pyc instead of compiling them on site? I know that sounds terrible to the open source community, but I do not intend to release the source code for my product That's not why I asked. I'll leave the politics up to you. The thing is, tha

Re: how to find site-packages path

2005-01-18 Thread Eric S. Johansson
Michael Hoffman wrote: Philippe C. Martin wrote: I am using my own install script for my software and am looking for a flawless way to figure out where python, and more specifically site-packages is installed. The flawless way would be to use distutils. In fact you shouldn't even need your own ins

Re: how to find site-packages path (Michael Hoffman) - use distutils

2005-01-18 Thread Philippe C. Martin
>> Why would you want to copy any *.pyc instead of compiling them on site? I know that sounds terrible to the open source community, but I do not intend to release the source code for my product - pls go to philippecmartin.com/applications.html for my _small_ contributions :-)) Regards, Philip

Re: how to find site-packages path (Michael Hoffman) - use distutils

2005-01-17 Thread vincent wehren
Philippe C. Martin wrote: The flawless way would be to use distutils. In fact you shouldn't even need your own install script--it should do most of the work for you. The reason I have not so far is I have not found a way to get what I want done: 1) create directories in site-packages (I gather thi

Re: how to find site-packages path (Michael Hoffman) - use distutils

2005-01-17 Thread Philippe C. Martin
>>The flawless way would be to use distutils. In fact you shouldn't even >>need your own install script--it should do most of the work for you. The reason I have not so far is I have not found a way to get what I want done: 1) create directories in site-packages (I gather this shoudl be easy enou

Re: how to find site-packages path

2005-01-17 Thread Michael Hoffman
Philippe C. Martin wrote: I am using my own install script for my software and am looking for a flawless way to figure out where python, and more specifically site-packages is installed. The flawless way would be to use distutils. In fact you shouldn't even need your own install script--it should d

Re: how to find site-packages path

2005-01-17 Thread vincent wehren
Philippe C. Martin wrote: Hi, I am using my own install script for my software and am looking for a flawless way to figure out where python, and more specifically site-packages is installed. You can take a look at how this is done in Lib/site.py. Look for the bit of code that starts with prefixes =

how to find site-packages path

2005-01-17 Thread Philippe C. Martin
Hi, I am using my own install script for my software and am looking for a flawless way to figure out where python, and more specifically site-packages is installed. Any clue ? Regards, Philippe -- *** Philippe C. Martin SnakeCard LLC www.snakecard.com ***