[Distutils] Post-install scripts

Paul Prescod paulp@ActiveState.com
Sat Mar 10 06:54:00 2001


Is there a convention for shipping post-install scripts through
distutils? We've taken the route of simply shipping the setup.py with
the PPM. Pre- or post- or even mid-install commands can go in that
script. I'd like to know what the other bdist_*'s do. I see something
about an install_script in the RPM one but I don't understand it well
enough to know what it is really doing.

Even though Python PPM is only a week old, we've already taken advantage
of this feature to install packages that have both Python and Perl
components. I'd like to use a shared convention so that module authors
can depend upon it. "Good" bdist_ commands should have a way to launch a
post-install script. The same should go for uninstall...
-- 
Python:
    Programming the way
    Guido
    indented it.