You could also distribute distribute as a wheel distribution. The format is designed to let you do your 2to3 runs ahead of time in addition to the compiling-of-C-extensions that people think of first.
On Tue, Feb 26, 2013 at 1:17 PM, Tres Seaver <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 02/26/2013 04:20 AM, Marius Gedminas wrote: > > On Tue, Feb 26, 2013 at 09:17:29AM +0000, Paul Moore wrote: > >> On 26 February 2013 06:21, Chris Withers <[email protected]> > >> wrote: > >>> File "./setuptools/dist.py", line 103 except ValueError, e: ^ > >>> SyntaxError: invalid syntax > >>> > >>> Can other people reproduce this? When was that Python 3 > >>> incompatible except clause introduced? > >> > >> I quite often see this, it's usually because something that pip is > >> doing (building the metadata/dependency stuff, the actual code > >> build is fine) is failing to run 2to3. > >> > >> I can't offer anything in the way of a fix, I'm afraid... > > > > How hard would it be to rewrite distribute to use a common language > > subset instead of relying on 2to3? > > The sheer number of developer hours saved by not waiting for the 2to3 run > every time a Py3k virtualenv is created should dwarf whatever effort is > involve. Any volunteers to "take on for the team"? > > > Tres. > - -- > =================================================================== > Tres Seaver +1 540-429-0999 [email protected] > Palladion Software "Excellence by Design" http://palladion.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with undefined - http://www.enigmail.net/ > > iEYEARECAAYFAlEs/CAACgkQ+gerLs4ltQ6oEgCcDobQyI2TbW5Ev0NDtxAOqSlJ > GBwAn3F4NMJ9nzY1/xmkxcvJdW8hceYp > =Bbmr > -----END PGP SIGNATURE----- > > _______________________________________________ > Distutils-SIG maillist - [email protected] > http://mail.python.org/mailman/listinfo/distutils-sig >
_______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
