Distutils postinstall script: useless?
Mardy
mardy at users.sourceforge.net
Wed Nov 30 16:03:05 EST 2005
Le die Wed, 30 Nov 2005 15:46:43 +0000, Mardy ha scribite:
> the bdist_wininst command of distutils allows me to specify a script to
> be executed at the end of the installation. That's great, but how can I
> know the installation path from inside the script?
Answering to myself, sys.prefix combined with the dictionary
INSTALL_SCHEMES from distutils.commands.install might do the work.
--
Saluti,
Mardy
http://interlingua.altervista.org
More information about the Python-list
mailing list