From 3bf8c4fa854d9cbb9af700b3852b1fded03fea54 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Wed, 20 Sep 2006 20:48:18 +0000 Subject: Backport all known 2.5-compatibility fixes --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051935 --- setup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index c835fa8c..d6a50ae0 100755 --- a/setup.py +++ b/setup.py @@ -23,8 +23,6 @@ VERSION = "0.6c3" from setuptools import setup, find_packages import sys scripts = [] -if sys.platform != "win32": - scripts = ["easy_install.py"] # for backward compatibility only setup( name="setuptools", @@ -38,13 +36,12 @@ setup( keywords = "CPAN PyPI distutils eggs package management", url = "http://peak.telecommunity.com/DevCenter/setuptools", test_suite = 'setuptools.tests', - packages = find_packages(), package_data = {'setuptools':['*.exe']}, py_modules = ['pkg_resources', 'easy_install', 'site'], - zip_safe = False, # We want 'python -m easy_install' to work, for now :( + zip_safe = (sys.version>="2.5"), # <2.5 needs unzipped for -m to work entry_points = { @@ -80,12 +77,15 @@ setup( "dependency_links.txt = setuptools.command.egg_info:overwrite_arg", ], + + + "console_scripts": [ "easy_install = setuptools.command.easy_install:main", "easy_install-%s = setuptools.command.easy_install:main" % sys.version[:3] ], - + "setuptools.file_finders": ["svn_cvs = setuptools.command.sdist:_default_revctrl"] }, -- cgit v1.2.1