2009/8/4 Sridhar Ratnakumar <[email protected]>: > What if I already have setuptools installed in the Python installation?
besides the warnings, it should be OK You can also install distribute over your setuptools by running bootstraping.py $ wget http://nightly.ziade.org/bootstraping.py $ python bootstraping.py > > sridh...@double:/tmp/tarek1$ apy bootstrap.py > Downloading http://nightly.ziade.org/distribute-0.6-py2.6.egg > bootstrap.py:42: UserWarning: Module pkg_resources was already imported from > /tmp/tmpCH7Pdb/distribute-0.6-py2.6.egg/pkg_resources.py, but > /opt/ActivePython-2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg > is being added to sys.path > reload(pkg_resources) > bootstrap.py:42: UserWarning: Module setuptools was already imported from > /tmp/tmpCH7Pdb/distribute-0.6-py2.6.egg/setuptools/__init__.py, but > /opt/ActivePython-2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg > is being added to sys.path > reload(pkg_resources) > bootstrap.py:42: UserWarning: Module site was already imported from > /opt/ActivePython-2.6/lib/python2.6/site.pyc, but > /opt/ActivePython-2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg > is being added to sys.path > reload(pkg_resources) > > -srid > > On Tue, 04 Aug 2009 13:50:26 -0700, Tarek Ziadé <[email protected]> > wrote: > >> Hi, >> >> I am working on the last bits to be able to release 0.6 >> >> 1/ Distribute and zc.buildout >> >> I started to work on the last bootstraping problem we have : make sure >> zc.buildout users can use it. >> >> I've uploaded at http://nightly.ziade.org/ a "bootstrap.py" file that >> is a patched version of zc.buildout's bootstrap.py. This version makes >> sure Distribute is installed >> and activated in a buildout environment. It's also in the repo, in the >> buildout directory. >> >> Again, this requires a lot of real-world testing before we can ship >> 0.6. I've started to test various combinations on my side, but as I >> did for the previous bootstraping >> script, I wouldn't mind having some feedback of various people on this. >> >> If you use zc.buildout, you can try it by replacing the bootstrap.py >> file that comes with your buildout with the one I work on, then >> >> a/ add "distribute" to the required eggs in your buildout cfg file >> >> b/ run or re-run the bootstrap: >> >> $ wget http://nightly.ziade.org/bootstrap.py >> $ python bootstrap.py >> >> If it worked, your buildout should build and work just fine, and the >> scripts located in bin/ should have their sys.path augmented with >> the distribute egg. Last, the setuptools egg is faked and you wil >> notice that it's empty. This has to be done so zc.buildout and any >> software >> out there that has a hardcoded dependency on setuptools thinks it's >> present. >> >> This is reversible, by running the original bootstrap and removing the >> egg dependency added in the cfg file. >> >> Please let me know if you try and get in any trouble. I was able to >> run a plone buildout on my side with no problems. >> >> 2/ bootstraping file names >> >> To avoid any confusion, I've changed distribute's bootstrap file name. >> So we will have: >> >> - ez_setup.py = setuptools bootstrap file >> - bootstraping.py = distribute bootstrap file >> - bootstrap.py = zc.buildout bootstrap file >> >> If you think "bootstraping" is a silly name, or have a better >> proposition, please let me know. >> >> 3/ release/branches roadmap >> >> I'll probably release 0.6 before the end of this week and I expect >> pushing a 0.6.1 one if we find big >> issues with the bootstraping we didn't see before, when the release goes >> live. >> >> As soon as 0.6 is tagged, I'll create a 0.6 branch for its maintenance >> and we will be able to >> work on 0.7 on the default branch, including the Python 3 work. Other >> Py3k remaning branches >> will be removed/stripped. I think this is a simpler approach. >> >> The 0.7 release will get ridd of the bootstraps script and create >> several distributions, so a >> massive refactoring is expected. I don't know if this will make it >> harder for py3k work, Lennart, Ronald ? >> >> >> Cheers >> Tarek > -- Tarek Ziadé | http://ziade.org _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
