how to config non-Lib\site-packages\ distutils windows install destination directory?

"Martin v. Löwis" martin at v.loewis.de
Thu Oct 28 15:01:56 EDT 2004


Bengt Richter wrote:
> I'd like to override the default
> 
>    d:\Python23\Lib\site-packages\
> 
> destination, at least as an option. I have used installshield in the past,
> which gives extensive control over just about everything, if you want to go
> to the trouble. Is "the trouble" in this case modifying distutils?

You could modify PC/bdist_wininst/install.c, i.e. the two instances of 
SCHEME. Alternatively, you can just modify the file names in the zip
file to not refer to PURELIB resp. PLATLIB anymore.

Regards,
Martin



More information about the Python-list mailing list