Re: [Distutils] Distribute without 2to3

2011-06-21 Thread Vinay Sajip
Vinay Sajip yahoo.co.uk> writes: > Out of 398 packages on PyPI which have a Python 3 trove classifier, apparently > 310 were installed without errors. The other 88 had errors, some of which are > project related (e.g. 14 SyntaxErrors) or have specific version requirements > (8 > insist on Python

Re: [Distutils] Distribute without 2to3

2011-06-21 Thread Vinay Sajip
Lennart Regebro gmail.com> writes: > That's a good test. Next step is to try make a buildout with it, and > then do the same under 2.6 and 2.4. If that all passes, it's in a good > usable state, I would say. I haven't had a chance to look at buildout and not sure what recipes need to be tried, b

Re: [Distutils] Distribute without 2to3

2011-06-21 Thread Vinay Sajip
Lennart Regebro gmail.com> writes: > That's a good test. Next step is to try make a buildout with it, and > then do the same under 2.6 and 2.4. If that all passes, it's in a good > usable state, I would say. Thanks. I'm not familiar with buildout, so if someone more savvy wants to give it a quic

Re: [Distutils] Distribute without 2to3

2011-06-21 Thread Lennart Regebro
On Tue, Jun 21, 2011 at 15:13, Vinay Sajip wrote: > I'm using this Distribute version to try installing (via pysetup3) all > allegedly > Py-3K packages on PyPI. So far, out of around 400 packages where I could find > a > download URL for a source distribution, smoke testing revealed 190 apparent

Re: [Distutils] Distribute without 2to3

2011-06-21 Thread Lennart Regebro
On Tue, Jun 21, 2011 at 15:03, Michael Foord wrote: > Really? In my experience dropping 2.4 support allows you to use the with > statement (just as dropping 2.3 support allows you to use decorators) which > is a big change. Sure, but since we support 2.4 now, I don't think the code uses it. In my

Re: [Distutils] Distribute without 2to3

2011-06-21 Thread Alexis Métaireau
On 06/21/2011 03:13 PM, Vinay Sajip wrote: Benchmarker - failed to recognize --single-version-externally-managed --single-version-externally-managed is a setuptools option IIRC. I've looked at its setup.py and found this: if arg1 == 'egg_info': from ez_setup import use_setuptools use_s

Re: [Distutils] Distribute without 2to3

2011-06-21 Thread Vinay Sajip
Lennart Regebro gmail.com> writes: > That's positive but... > > > Of course, I'm assuming that "python setup.py test" gives adequate coverage. > > It doesn't. Far from it, unfortunately. That's not a good place to be, given that we'll be reliant on Distribute for a while. Is there a more compr

Re: [Distutils] Distribute without 2to3

2011-06-21 Thread Michael Foord
On 21 June 2011 13:42, Lennart Regebro wrote: > On Tue, Jun 21, 2011 at 13:30, Vinay Sajip > wrote: > > Lennart Regebro gmail.com> writes: > > > >> We still need to support Python 2.4, right? That's a trickier issue. > >> But including six.py might help. > > > > I'm not sure why 2.4 is a partic

Re: [Distutils] Distribute without 2to3

2011-06-21 Thread Lennart Regebro
On Tue, Jun 21, 2011 at 13:30, Vinay Sajip wrote: > Lennart Regebro gmail.com> writes: > >> We still need to support Python 2.4, right? That's a trickier issue. >> But including six.py might help. > > I'm not sure why 2.4 is a particular issue. It isn't. The big difference is between 2.5 and 2.6

Re: [Distutils] Distribute without 2to3

2011-06-21 Thread Vinay Sajip
Lennart Regebro gmail.com> writes: > We still need to support Python 2.4, right? That's a trickier issue. > But including six.py might help. I'm not sure why 2.4 is a particular issue: I just tested on 2.4.6 without any failures. See https://gist.github.com/1037662 Of course, I'm assuming that

Re: [Distutils] Distribute without 2to3

2011-06-21 Thread Paul Nasrat
On 21 June 2011 10:23, Wichert Akkerman wrote: > > On 06/21/2011 11:21 AM, Lennart Regebro wrote: >> >> On Tue, Jun 21, 2011 at 10:34, Vinay Sajip  wrote: >>> >>> I'm testing a branch of Python which provides out-of-the-box ability to >>> create >>> virtual enviroments à la virtualenv, and as par

Re: [Distutils] Distribute without 2to3

2011-06-21 Thread Wichert Akkerman
On 06/21/2011 11:21 AM, Lennart Regebro wrote: On Tue, Jun 21, 2011 at 10:34, Vinay Sajip wrote: I'm testing a branch of Python which provides out-of-the-box ability to create virtual enviroments à la virtualenv, and as part of that testing I have to install Distribute in newly created environm

Re: [Distutils] Distribute without 2to3

2011-06-21 Thread Lennart Regebro
On Tue, Jun 21, 2011 at 10:34, Vinay Sajip wrote: > I'm testing a branch of Python which provides out-of-the-box ability to create > virtual enviroments à la virtualenv, and as part of that testing I have to > install Distribute in newly created environments a lot. Though normally > running > 2to

[Distutils] Distribute without 2to3

2011-06-21 Thread Vinay Sajip
I'm testing a branch of Python which provides out-of-the-box ability to create virtual enviroments à la virtualenv, and as part of that testing I have to install Distribute in newly created environments a lot. Though normally running 2to3 as part of the Distribute installation is not a big deal, fo