aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-09-24 17:28:56 +0000
committerPJ Eby <distutils-sig@python.org>2005-09-24 17:28:56 +0000
commitb36d8cf48254de4e35688764e6026dfffdfa2b62 (patch)
tree68c6deed0bbe538ae34fd703dfd7902ab9cdd5ae /setup.py
parent1b1eab50ae3a7a0fd734305cac331b1d5c311f26 (diff)
downloadexternal_python_setuptools-b36d8cf48254de4e35688764e6026dfffdfa2b62.tar.gz
external_python_setuptools-b36d8cf48254de4e35688764e6026dfffdfa2b62.tar.bz2
external_python_setuptools-b36d8cf48254de4e35688764e6026dfffdfa2b62.zip
Improve backward compatibility, so that users running easy_install.py or
python -m easy_install get a clearer error message. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041249
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/setup.py b/setup.py
index b9046d86..cf9373e1 100755
--- a/setup.py
+++ b/setup.py
@@ -14,13 +14,14 @@ def get_description():
lines.append(line)
f.close()
return ''.join(lines)
-
-VERSION = "0.6a2"
+VERSION = "0.6a2"
from setuptools import setup, find_packages
import sys
-
from setuptools.command import __all__ as SETUP_COMMANDS
+scripts = []
+if sys.platform != "win32":
+ scripts = ["easy_install.py"] # for backward compatibility only
setup(
name="setuptools",
@@ -38,7 +39,6 @@ setup(
package_data = {'setuptools': ['launcher.exe']},
py_modules = ['pkg_resources', 'easy_install'],
-
zip_safe = False, # We want 'python -m easy_install' to work, for now :(
entry_points = {
"distutils.commands" : [
@@ -77,8 +77,8 @@ setup(
Topic :: Software Development :: Libraries :: Python Modules
Topic :: System :: Archiving :: Packaging
Topic :: System :: Systems Administration
- Topic :: Utilities""".splitlines() if f.strip()]
-
+ Topic :: Utilities""".splitlines() if f.strip()],
+ scripts = scripts,
# uncomment for testing
# setup_requires = ['setuptools>=0.6a0'],