[Distutils] custom install directory with bdist_wininst

Juergen Hermann jh at web.de
Tue Jul 1 17:53:10 EDT 2003


On 30 Jun 2003 15:11:11 -0400, Jeremy Hylton wrote:

>I'd like to give the user control over where the files get installed. 
>It looks like distutils installs into site-packages by default, and
>there's no way to override it.  The UI shows the destination directory
>in a box that looks like it should be editable, but it isn't.
>
>If you run setup.py install, you can pass a --home that affects where
>files are installed.  I'm looking for something similar on Windows.

--install-data should work on Windows (while --home is Unix centric). 
That is out of the box, and of course you can always overload the 
command class for more complex things.



Ciao, Jürgen

--
Jürgen Hermann, Developer
WEB.DE AG, http://webde-ag.de/





More information about the Distutils-SIG mailing list