Phillip J. Eby wrote: >> Is it safe to do nasty monkeypatching wherein I replace distutils.setup >> with setuptools.setup? Or, more directly, anyone have code around to >> build eggs programmatically from other people's packages? > > > If distutils' run_setup() worked correctly, you could probably do this. > Of course, if you control your environment, you could also possibly just > copy bdist_egg.py into your Python installation's distutils/command > directory. I don't think bdist_egg has any dependencies to the rest of > setuptools that would prevent it from being used from regular distutils > that way. > > So, try copying bdist_egg.py into distutils/command, and then run > "setup.py bdist_egg" and see if it works.
Ah, it's much easier than we realized: python setup.py --command-packages=setuptools.command bdist_egg -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
