[Distutils] easy_install of django sdist tarball omits data files
noah.gift at gmail.com
Fri Dec 21 19:48:27 CET 2007
> I did find one recent argument for revisiting that decision, which also
> provides an alternate easy_install-compatible setup.py:
I also like Ian's suggestion:
With a little hack you can use setuptools with distutils setup.py's.
Setuptools monkeypatches distutils.core.setup(), so anything run after you
import setuptools gets all the setuptools features. To make use of this you
python -c "import setuptools, os; __file__=os.path.abspath('setup.py');
Or whatever command you want to run.
Comment by Ian Bicking <http://blog.ianbicking.org/> — November 26,
2007 @ 10:09
It would be interesting to have a monkeypatch toolkit you could use on any
badly written setup.py and force it to work the "correct" way. Perhaps a
GHOP project? Monkeypatch to egg....?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Distutils-SIG