diff options
| author | PJ Eby <distutils-sig@python.org> | 2006-03-20 22:28:38 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2006-03-20 22:28:38 +0000 |
| commit | dae3df10d9c3e064f483b697b5f4f69387402c2b (patch) | |
| tree | f74403600703c12b76a9a3e4447504af91bdaf09 | |
| parent | d5309081b92d1a6c1cc5565fb84a9e4c367e43f9 (diff) | |
| download | python-setuptools-git-dae3df10d9c3e064f483b697b5f4f69387402c2b.tar.gz | |
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
| -rwxr-xr-x | EasyInstall.txt | 13 | ||||
| -rwxr-xr-x | setup.py | 8 | ||||
| -rwxr-xr-x | setuptools.egg-info/entry_points.txt | 1 |
3 files changed, 18 insertions, 4 deletions
diff --git a/EasyInstall.txt b/EasyInstall.txt index 85a201b4..8b16c509 100755 --- a/EasyInstall.txt +++ b/EasyInstall.txt @@ -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`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1079,6 +1089,9 @@ Known Issues time out or be missing a file. 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 the front of sys.path, in an order consistent with where they came from, making EasyInstall seamlessly co-operate with system package managers. @@ -73,13 +73,13 @@ setup( "depends.txt = setuptools.command.egg_info:warn_depends_obsolete", ], "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 """ Development Status :: 3 - Alpha Intended Audience :: Developers diff --git a/setuptools.egg-info/entry_points.txt b/setuptools.egg-info/entry_points.txt index 7696452d..64af370f 100755 --- a/setuptools.egg-info/entry_points.txt +++ b/setuptools.egg-info/entry_points.txt @@ -22,6 +22,7 @@ depends.txt = setuptools.command.egg_info:warn_depends_obsolete [console_scripts] easy_install = setuptools.command.easy_install:main +easy_install-2.3 = setuptools.command.easy_install:main [distutils.commands] bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm |
