Extending distutils?

Martin v. Löwis loewis at informatik.hu-berlin.de
Thu Jun 13 09:40:56 CEST 2002

Martin Sjögren <martin at strakt.com> writes:

> Does anybody have any hints on what I should do?

To extend a command, you subclass the existing command (or write a new
one from scratch), then pass an argument cmdclass to install, like

       # Override certain command classes with our own ones
       cmdclass = {'install_data':install_Data_Files,


More information about the Python-list mailing list