[Distutils] (How) do setuptools/distribute handle circular dependencies?

Vinay Sajip vinay_sajip at yahoo.co.uk
Fri Nov 9 23:52:51 CET 2012

Working on distlib, I noticed that PyPI contains projects with circular
dependencies. Here's an extract from setup.py in the latest Zope2 (2.13.19):

      'Products.OFSP >= 2.13.2',
    ] + additional_install_requires,

whereas the the setup.py in the latest Products.OFSP (2.13.2) has:

        'Zope2 >= 2.13.0a1',

So, according to the declarations, each package depends on the other. Can
setuptools / distribute deal with this sort of situation? If so, how does
that work?


Vinay Sajip

More information about the Distutils-SIG mailing list