Commit dae3df10 authored by PJ Eby's avatar PJ Eby

Added ``easy_install-N.N`` script(s) for convenience when using multiple

Python versions.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043177
parent d5309081
...@@ -322,6 +322,16 @@ Tips & Techniques ...@@ -322,6 +322,16 @@ Tips & Techniques
----------------- -----------------
Multiple Python Versions
~~~~~~~~~~~~~~~~~~~~~~~~
As of version 0.6a11, EasyInstall installs itself under two names:
``easy_install`` and ``easy_install-N.N``, where ``N.N`` is the Python version
used to install it. Thus, if you install EasyInstall for both Python 2.3 and
2.4, you can use the ``easy_install-2.3`` or ``easy_install-2.4`` scripts to
install packages for Python 2.3 or 2.4, respectively.
Restricting Downloads with ``--allow-hosts`` Restricting Downloads with ``--allow-hosts``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...@@ -1079,6 +1089,9 @@ Known Issues ...@@ -1079,6 +1089,9 @@ Known Issues
time out or be missing a file. time out or be missing a file.
0.6a11 0.6a11
* Added ``easy_install-N.N`` script(s) for convenience when using multiple
Python versions.
* Added automatic handling of installation conflicts. Eggs are now shifted to * Added automatic handling of installation conflicts. Eggs are now shifted to
the front of sys.path, in an order consistent with where they came from, the front of sys.path, in an order consistent with where they came from,
making EasyInstall seamlessly co-operate with system package managers. making EasyInstall seamlessly co-operate with system package managers.
......
...@@ -73,13 +73,13 @@ setup( ...@@ -73,13 +73,13 @@ setup(
"depends.txt = setuptools.command.egg_info:warn_depends_obsolete", "depends.txt = setuptools.command.egg_info:warn_depends_obsolete",
], ],
"console_scripts": "console_scripts":
["easy_install = setuptools.command.easy_install:main"], ["easy_install = setuptools.command.easy_install:main",
"easy_install-%s = setuptools.command.easy_install:main"
% sys.version[:3]
],
}, },
classifiers = [f.strip() for f in """ classifiers = [f.strip() for f in """
Development Status :: 3 - Alpha Development Status :: 3 - Alpha
Intended Audience :: Developers Intended Audience :: Developers
......
...@@ -22,6 +22,7 @@ depends.txt = setuptools.command.egg_info:warn_depends_obsolete ...@@ -22,6 +22,7 @@ depends.txt = setuptools.command.egg_info:warn_depends_obsolete
[console_scripts] [console_scripts]
easy_install = setuptools.command.easy_install:main easy_install = setuptools.command.easy_install:main
easy_install-2.3 = setuptools.command.easy_install:main
[distutils.commands] [distutils.commands]
bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment