[Distutils] Using code from a dependency in setup.py

Robert Collins robertc at robertcollins.net
Wed May 29 22:12:00 CEST 2013


On 30 May 2013 07:33, George V. Reilly <george at reilly.org> wrote:

> Can this be done with Distutils / setuptools /  Distribute?

I believe that setup_requires can do what you want, in principle -
AIUI that describes what modules are needed to run setup correctly :
of course you have to bootstrap manually - but installers can examine
the EGG_INFO once it's created. I suspect only ezsetup does that
though - though I'd be delighted to be wrong.

-Rob

-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Cloud Services


More information about the Distutils-SIG mailing list