how to find site-packages path (Michael Hoffman) - use distutils/modified
Philippe C. Martin
philippecmartin at sbcglobal.net
Wed Jan 19 04:46:14 EST 2005
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 attached a
>>file there which enables you to do the same thing, but without
patching
>>distutils - it just wraps functions etc from outside.
>>Basically you call allow_distutils_remove_source in the module and it
>>does the neccessary changes. Then you get a --remove-source options
to
>>most of the commands. You can also selectively override what gets
>>removed if you want by changing the is_removable function
>>I hope this is useful for what you're wanting to do
>>David
--
***************************
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***************************
More information about the Python-list
mailing list