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
Thanks David.
Philippe
Hi Philippe
You may want to have a look at
https://sourceforge.net/tracker/?func=detailatid=305470aid=793070group_id=5470
This was originally a patch to distutils which enabled removing the
source (i.e. only distributing compiled files). I have now attached a
file
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,
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
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,
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
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
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
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
enough)
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
10 matches
Mail list logo