[MacPorts] #20271: python_select should create symlinks for easy_install, 2to3
#20271: python_select should create symlinks for easy_install, 2to3 ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: python_select ----------------------------------+----------------------------------------- python_select does not create a symlink for easy_install like the other Python binaries. If the default interpreter is not the same minor version as the interpreter in the shebang line, easy_install will fail late with an unhelpful error message. python_select also does not create a symlink for 2to3, but that tool appears not to be affected by the default interpreter. -- Ticket URL: <http://trac.macports.org/ticket/20271> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20271: python_select should create symlinks for easy_install, 2to3 ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: raimue@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: python_select ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => raimue@… * type: defect => enhancement -- Ticket URL: <http://trac.macports.org/ticket/20271#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20271: python_select should create symlinks for easy_install, 2to3 ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: raimue@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: python_select ----------------------------------+----------------------------------------- Changes (by raimue@…): * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/20271#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20271: python_select should create symlinks for easy_install, 2to3 ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: raimue@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: python_select ----------------------------------+----------------------------------------- Changes (by raimue@…): * cc: blb@…, erickt@…, mww@… (added) Comment: CC'ing maintainers of python{24,25,26,30,31}: I am going to make the necessary changes to both python_select and your ports if nobody objects. 2to3 is definitely a good idea. But I am unsure about easy_install. When using this application, won't it interfere with MacPorts installed modules and should therefore not be used? Please give advice. -- Ticket URL: <http://trac.macports.org/ticket/20271#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20271: python_select should create symlinks for easy_install, 2to3 ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: raimue@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: python_select ----------------------------------+----------------------------------------- Changes (by blb@…): * cc: mcalhoun@… (added) Comment: 2to3 is fine, but note that easy_install comes from setuptools, not the base python* ports. -- Ticket URL: <http://trac.macports.org/ticket/20271#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20271: python_select should create symlinks for easy_install, 2to3 ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: raimue@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: python_select ----------------------------------+----------------------------------------- Comment(by speed.rob@…): Replying to [comment:3 raimue@…]:
2to3 is definitely a good idea. But I am unsure about easy_install. When using this application, won't it interfere with MacPorts installed modules and should therefore not be used? Please give advice.
The easy_install tool is installed with setuptools regardless, creating a symlink would only serve to override the OS X copy (which installs modules into a path that the Macports-distributed Python doesn't use). In any case, Python was designed to have modules installed in this way. It's simply not reasonable to expect every python module to have a package in Macports. -- Ticket URL: <http://trac.macports.org/ticket/20271#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20271: python_select should create symlinks for all executables installed by python ----------------------------------+----------------------------------------- Reporter: macports@… | Owner: raimue@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: python_select ----------------------------------+----------------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/20271#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20271: python_select should create symlinks for all executables installed by python -----------------------------------+---------------------------------------- Reporter: macports@… | Owner: raimue@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: python_select | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: assigned => closed * resolution: => fixed Comment: r78591 -- Ticket URL: <https://trac.macports.org/ticket/20271#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts