On Tue, Sep 8, 2009 at 3:49 PM, Chris Withers<[email protected]> wrote: > Tarek Ziadé wrote: >>> >>> I've been working on a branch of zc.buildout that uses distribute instead >>> of >>> setuptools: >>> >>> http://svn.zope.org/zc.buildout/branches/use_distribute/ > > Okay, I now have all but a couple of tests passing on this branch, with all > the changes from the trunk merged in as of a few hours ago... > > The test failures are a bit weird though: > > File "...src/zc/buildout/bootstrap.txt", line 23, in bootstrap.txt > Failed example: > print 'X'; print system( > zc.buildout.easy_install._safe_arg(sys.executable)+' '+ > 'bootstrap.py'); print 'X' # doctest: +ELLIPSIS > ... > Traceback (most recent call last): > File "bootstrap.py", line 87, in <module> > ws.require('zc.buildout' + VERSION) > File ".../distribute-0.6-py2.6.egg/pkg_resources.py", line 621, in > require > File ".../distribute-0.6-py2.6.egg/pkg_resources.py", line 519, in > resolve > pkg_resources.DistributionNotFound: setuptools > <BLANKLINE> > > I can't find where setuptools is being required, any ideas?
This is probably zc.buildout setup.py script because it contains "install_requires = 'setuptools'," That's why you need to install Distribute using distribute_setup.py for instance, so it fakes setuptools presence for all packages that contains this requirement. -- Tarek Ziadé | http://ziade.org | オープンソースの岩! _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
