[Distutils] Distribute and zc.buildout + bootstraping file names + release/branches roadmap

Tarek Ziadé ziade.tarek at gmail.com
Tue Aug 4 23:15:46 CEST 2009


On Tue, Aug 4, 2009 at 11:11 PM, Sridhar
Ratnakumar<SridharR at activestate.com> wrote:
> On Tue, 04 Aug 2009 14:04:21 -0700, Tarek Ziadé <ziade.tarek at gmail.com>
> wrote:
>
>>> $ virtualenv --no-site-packages env1
>>> $ rm -rf env1/lib/python2.6/site-packages/* # remove previously installed
>>> setuptools
>>> $ env1/bin/python bootstrap.py
>>> Downloading http://nightly.ziade.org/distribute-0.6-py2.6.egg
>>> Traceback (most recent call last):
>>>  File "bootstrap.py", line 41, in <module>
>>>   if to_reload:
>>> NameError: name 'to_reload' is not defined
>>>
>>> This is because you haven't initialized `to_reload` *before* trying to
>>> run
>>> the code in the first try: block.
>>
>> oups, I didn't upload the right version, it's now updated,
>> please get it back and try agin
>
> Ok, with the new bootstrap.py I have no need for bootstrapping.py.
>
> bootstrap.py and the distribute egg it downloaded works fine here - all
> tests in pypm pass with s/setuptools/distribute.
>
> So is Distribute going to be a 100% compatible replacement for setuptools?

yes, only for the 0.6 release, to allow people to "gently" switch

> Suppose if some software ships with distribute and if the user later tries
> to install easy_install, what would happen? Cases like that.

if you try afterwards to install setuptools, it will tell you it's installed
if you force an upgrade, or use the original zc.buildout bootstrap,
you will get back to setuptools in your python *or* buildout
environment

notice that in any case third party apps should work fine, the only
difference is that DIstribute 0.6 fixes some bugs setuptools 0.6c9 has

>
> -srid
>



-- 
Tarek Ziadé | http://ziade.org


More information about the Distutils-SIG mailing list