[Distutils] Extending distutils with 3rd party build commands?

Phillip J. Eby pje at telecommunity.com
Thu Oct 21 17:50:10 CEST 2004


At 11:02 PM 10/20/04 -0400, Bob Ippolito wrote:

>On Oct 20, 2004, at 22:19, Phillip J. Eby wrote:
>>
>>Another possibility: create a script that does the import, then calls 
>>execfile() on 'setup.py' in the current directory, so that you can just 
>>run that script instead of setup.py.  You can then install that script, 
>>so users can run it against any setup.py.
>
>Yeah, I guess that's the only reasonable thing to do until Python 2.5 :)

Well, in 2.4, your script can be a module, and executed with '-m'.  :)



More information about the Distutils-SIG mailing list