I am interested in building a Windows distribution for my application.
The application requires that a number of environmental variables and/or registry entries be set for the software to function properly. Supposing I write a script 'set_vars.py' to create and set these entries, is there a way to call this script when the application is installed via
python setup.py install
From the documentation detailing 'setup.py', I did not see an obvious way to call pre-install or post-install scripts.
I would rather not have set_vars.py called from an init.py in the distribution because the variables only really need to be set up once at install time.