[Distutils] buildout usage : a setup steps needs access to an installed package
Jim Fulton
jim at zope.com
Wed Apr 28 18:09:54 CEST 2010
On Tue, Apr 27, 2010 at 1:27 PM, Kevin Teague <kevin at bud.ca> wrote:
> "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.
Dang. Well, I guess trying to make that work in buildout is till on
my to-do list.
Jim
--
Jim Fulton
More information about the Distutils-SIG
mailing list