[Distutils] buildout usage : a setup steps needs access to an installed package

Kevin Teague kevin at bud.ca
Tue Apr 27 19:27:35 CEST 2010


"Thou shalt not put thine metadata inside thine data."

The nltk setup.py imports nltk which in turn imports PyYAML, so you can't
install nltk and it's dependencies until nltk and it's dependencies are
installed. Ideally you should ask the nltk maintainers to not import the
thing which they are trying to install, and move their metadata out of the
nltk package and into setup.py. FWIW, this package won't install w/ pip
either.

I wasn't aware of the 'setup_requires' option - so I just gave that a try
with a modified nltk package w/ buildout by making the PyYAML setup
dependency explicit, but no dice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100427/8c361ae8/attachment.html>


More information about the Distutils-SIG mailing list