Re: [Distutils] The problem with Setuptools on Python 3.
At 08:27 AM 4/22/2009 +0200, Lennart Regebro wrote:
On Tue, Apr 21, 2009 at 19:57, P.J. Eby
wrote: At 04:06 PM 4/21/2009 +0200, Lennart Regebro wrote:
On Tue, Apr 21, 2009 at 15:03, P.J. Eby
wrote: python2 setup.py 2to3 test
Well, yes, but it should be
python 3 setup.py 2to3 test
Otherwise it can't reasonably have any idea of which python to use.
Why not? The 2to3 command could simply take an option for the python3 executable, and be set from the standard config files (e.g. setup.cfg).
Because that would mean that Python 2 needs to be installed to use Python 3. It also means all programs that do any sort of installing need to either know the position of the python 3 executable to use when installing, and be run with Python 2, or they need to be run with Python 3 and know the position of a Python 2 interpreter to run setup.py with.
Er, no. It only means that you need Python 2 to be installed *while porting a package* to Python 3.
On Wed, Apr 22, 2009 at 16:18, P.J. Eby
Er, no. It only means that you need Python 2 to be installed *while porting a package* to Python 3.
No. It means it needs to be installed when installing the package from a source distribution. Which is the normal way of distributing modules. -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64
participants (2)
-
Lennart Regebro
-
P.J. Eby