Phillip J. Eby wrote:
> At 08:33 AM 7/3/2007 -0700, Rob Cakebread wrote:
>> Phillip J. Eby wrote:
>>> use "setup.py easy_install . --no-deps"
>>
>> We've tried that but it fails because we need to install to our
>> sandbox directory first. Currently we use this, so we need to be able
>> to specify the root with your example:
>>
>> python setup.py install --root=${D}
>
> I'm confused. If you're specifying "install --root", you should be
> getting --single-version-externally-managed, which means that
> dependencies shouldn't be being installed in the first place.
>
Ah ha, I didn't know that was changed (in setuptools 0.6a11).
The problem was for packages like elementtree and python 2.4, when their
setup.py used distutils. So, that is not an issue since 0.6a11, great.
There is one minor problem which will only happen when we miss a
dependency. If a package has test_requires it will try to download and
install packages when we run setup.py test. For instance in rdflib it
will try to install nose.
It would be nice to be able to make it abort instead, but that's not a
big deal like install_requires pre-0.6a11
Thanks again,
Rob
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig