summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/setup.py b/setup.py
index b0bc3900..d2d2b008 100755
--- a/setup.py
+++ b/setup.py
@@ -18,6 +18,9 @@ def get_description():
VERSION = "0.6a0"
from setuptools import setup, find_packages
+import sys
+
+from setuptools.command import __all__ as SETUP_COMMANDS
setup(
name="setuptools",
@@ -35,9 +38,15 @@ setup(
packages = find_packages(),
py_modules = ['pkg_resources', 'easy_install'],
scripts = ['easy_install.py'],
+
zip_safe = False, # We want 'python -m easy_install' to work :(
-
+ entry_points = {
+ "distutils.commands" : [
+ "%(cmd)s = setuptools.command.%(cmd)s:%(cmd)s" % locals()
+ for cmd in SETUP_COMMANDS if cmd!="build_py" or sys.version>="2.4"
+ ],
+ },
classifiers = [f.strip() for f in """
Development Status :: 3 - Alpha
@@ -71,12 +80,3 @@ setup(
-
-
-
-
-
-
-
-
-