Distutils postinstall script: useless?

Mardy mardy at users.sourceforge.net
Wed Nov 30 10:46:43 EST 2005


Hi,
  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?

I've already tried os.getcwd(), but it just return the directory where the
setup was started.


-- 
Saluti,
    Mardy
http://interlingua.altervista.org




More information about the Python-list mailing list