Commit f85098d6 authored by PJ Eby's avatar PJ Eby

Changes so that upgrading an existing setuptools to a development

version doesn't lose its entry points by using the already-installed
setuptools as a basis for generating them.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041776
parent cd44aa21
......@@ -15,10 +15,13 @@ def get_description():
f.close()
return ''.join(lines)
from distutils.util import convert_path
d = {}; execfile(convert_path('setuptools/command/__init__.py'), d)
SETUP_COMMANDS = d['__all__']
VERSION = "0.6a9"
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
......@@ -35,8 +38,9 @@ setup(
keywords = "CPAN PyPI distutils eggs package management",
url = "http://peak.telecommunity.com/DevCenter/setuptools",
test_suite = 'setuptools.tests.test_suite',
packages = find_packages(),
include_package_data = True,
package_data = {'setuptools':'*.exe'},
py_modules = ['pkg_resources', 'easy_install', 'site'],
zip_safe = False, # We want 'python -m easy_install' to work, for now :(
......@@ -76,10 +80,6 @@ setup(
classifiers = [f.strip() for f in """
Development Status :: 3 - Alpha
Intended Audience :: Developers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment