Commits

Carl Meyer  committed 71cac80

backport zip_safe=False

  • Participants
  • Parent commits 82582ae
  • Branches 0.7.X

Comments (0)

Files changed (1)

 import sys
-force_setuptools = False
-for command in ('upload', 'develop', 'egg_info',):
-    if command in sys.argv:
-        force_setuptools = True
-if sys.platform == 'win32':
-    force_setuptools = True
-if force_setuptools:
-    from setuptools import setup
-else:
-    from distutils.core import setup
+from setuptools import setup
 import os
 
-
 version = "0.7.1"
 
 doc_dir = os.path.join(os.path.dirname(__file__), 'docs')
 """
 long_description = long_description + open(index_filename).read().split('split here', 1)[1]
 
-if sys.platform == 'win32':
-    kw = dict(entry_points=dict(console_scripts=['pip=pip:main']))
-else:
-    kw = dict(scripts=['scripts/pip'])
-
 setup(name='pip',
       version=version,
       description="pip installs packages.  Python packages.  An easy_install replacement",
       url='http://pip.openplans.org',
       license='MIT',
       packages=['pip', 'pip.commands', 'pip.vcs'],
-      **kw)
+      entry_points=dict(console_scripts=['pip=pip:main']),
+      zip_safe=False
+      )