[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2012-02-18 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

New changeset 499796937b7a by Ned Deily in branch '2.7':
Issue #12627: Implement PEP 394 for OS X framework builds.
http://hg.python.org/cpython/rev/499796937b7a

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2012-02-18 Thread Ned Deily

Ned Deily n...@acm.org added the comment:

Changeset 499796937b7a implements PEP 394 for OS X framework builds on Python 
2.7.  OS X framework builds already created versioned symlinks for all 
executables and scripts installed in the framework bin directory, of the 
general form ${cmd} - ${cmd}2.7.  This is all accomplished in some additional 
targets in Mac/Makefile which are automatically added by configure for 
framework builds and supersede the standard processing in the main Makefile 
bininstall and altbininstall targets.  The changes here add the additional 
hierarchy of ${cmd} - ${cmd}2 - ${cmd}2.7.  Per previous practice, all of the 
links are created in the framework bin directory for both the install and 
altinstall targets.  This is consistent with the long-standing recommendation 
to manage multiple framework versions by adding and ordering framework bin 
directories on $PATH.  Also, per past practice, symlinks to all framework bin 
entries are created in $prefix/bin (by default, /usr/local/bin) for the install 
target and 
 only versioned links are created for altinstall, although the use of these 
links is not recommended for framework builds and their installation is 
optional with the standard OS X installers.

No changes are needed for 3.2 or 3.3 at this time.  Although the Mac/Makefile 
targets don't quite create all of the versioned links in $prefix/bin, the 
installer build script does the right thing by creating symlinks to everything 
in the fw bin directory.

In many respects, the current situation for framework builds is less than 
ideal, with duplicated code, vestigial links, and, more importantly, a clumsy 
and non-transparent method for managing multiple versions.  I intend to revisit 
this area prior to Python 3.3 feature code cutoff as a separate issue.

--
resolution:  - fixed
stage: needs patch - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2012-02-17 Thread Nick Coghlan

Nick Coghlan ncogh...@gmail.com added the comment:

No automatic link, since I neglected to mention the issue number in the checkin 
messages:

2.7: http://hg.python.org/cpython/rev/a65a71aa9436
3.3: http://hg.python.org/cpython/rev/dc721f28f168

I deliberately *didn't* make the change in 3.2. As the choice of symlink vs 
hardlink is really more cosmetic than consequential, it didn't feel like an 
appropriate change to make in a maintenance release without a compelling reason 
(introducing a *new* link meant we had such a reason for 2.7, but that's not 
applicable to 3.2).

Handing the issue over to Ned to confirm the OS X framework builds align with 
the PEP.

--
assignee:  - ned.deily
stage: patch review - needs patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2012-02-16 Thread Nick Coghlan

Changes by Nick Coghlan ncogh...@gmail.com:


Removed file: http://bugs.python.org/file22738/version33_links.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2012-02-16 Thread Nick Coghlan

Nick Coghlan ncogh...@gmail.com added the comment:

I removed the 3.3 patch, since all the previous version did was change symbolic 
links to hard links, and the latest round of discussions favoured retaining the 
symlinks since they're much easier to introspect.

However, it turns out there is still one change needed for 3.3 - updating the 
current python3 hardlink to make it a symlink instead.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2012-02-16 Thread Nick Coghlan

Nick Coghlan ncogh...@gmail.com added the comment:

Actually, the Python 3 Makefile.pre.in is currently broken if $(EXE) is ever 
non-empty - in a few places it uses $(PYTHON)$(VERSION)$(EXE) and 
$(PYTHON)3$(EXE).

Those are wrong, because the definition of $(PYTHON) at the top of the file is 
python$(EXE)

Instead, they need to be written as python$(VERSION)$(EXE) and python3$(EXE)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2012-02-16 Thread Nick Coghlan

Nick Coghlan ncogh...@gmail.com added the comment:

New patch that aims to create the appropriate symlinks in make bininstall. I 
don't currently have a sacrificial VM set up to test it in though.

--
Added file: http://bugs.python.org/file24530/pep394_python27_symlinks.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2012-02-16 Thread Nick Coghlan

Changes by Nick Coghlan ncogh...@gmail.com:


Removed file: http://bugs.python.org/file22737/version27_links.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2012-02-13 Thread Martin v . Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

The 2.7 patch needs to remove an existing python2 link before creating it.

--
nosy: +loewis

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2012-02-12 Thread Nick Coghlan

Changes by Nick Coghlan ncogh...@gmail.com:


--
nosy: +benjamin.peterson

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2011-11-27 Thread Meador Inge

Changes by Meador Inge mead...@gmail.com:


--
nosy: +meador.inge

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2011-11-16 Thread Nick Coghlan

Changes by Nick Coghlan ncogh...@gmail.com:


--
nosy: +ncoghlan

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2011-08-03 Thread Jeremy Bicha

Changes by Jeremy Bicha jbi...@ubuntu.com:


--
nosy: +jbicha

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2011-07-24 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Some scripts are installed by setup.py

I’ll find time to read the latest version of the PEP in the coming days.

--
nosy: +eric.araujo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2011-07-24 Thread Petri Lehtinen

Changes by Petri Lehtinen pe...@digip.org:


--
nosy: +petri.lehtinen

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2011-07-23 Thread Kerrick Staley

New submission from Kerrick Staley m...@kerrickstaley.com:

This issue was opened to track the implementation of PEP 394, which governs the 
way the python command and commands like python2 and python3 work on Unix-like 
systems.

--
components: Installation
messages: 141034
nosy: Kerrick.Staley
priority: normal
severity: normal
status: open
title: Implement PEP 394: The python Command on Unix-Like Systems
type: feature request
versions: Python 2.7, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2011-07-23 Thread Kerrick Staley

Kerrick Staley m...@kerrickstaley.com added the comment:

Here is a patch that will update the Makefile.pre.in file for 2.7, causing it 
to install python2 and python2-config when run with make install (or just 
make bininstall). This does not update any documentation. Also, it appears 
that Idle and PyDoc are not installed by the 2.7 Makefile, so I didn't do 
anything about those, even though the PEP mentions them.

--
keywords: +patch
Added file: http://bugs.python.org/file22737/version27_links.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2011-07-23 Thread Kerrick Staley

Kerrick Staley m...@kerrickstaley.com added the comment:

This updates the links created by make install or make bininstall in Python 
3 so that they're in agreement with the recommendations of PEP 394; it's the 
equivalent of version27_links.patch but is for Python 3.

--
Added file: http://bugs.python.org/file22738/version33_links.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12627] Implement PEP 394: The python Command on Unix-Like Systems

2011-07-23 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
nosy: +ned.deily
stage:  - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com