diff options
author | PJ Eby <distutils-sig@python.org> | 2005-12-20 16:21:50 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2005-12-20 16:21:50 +0000 |
commit | f85098d6389e336bfb444132be6032e292eab19f (patch) | |
tree | 761a008111a5910d96afcf60ec64d32dbd92efe3 | |
parent | cd44aa210783d5efd0670fa68f5ba6e9d170f967 (diff) | |
download | external_python_setuptools-f85098d6389e336bfb444132be6032e292eab19f.tar.gz external_python_setuptools-f85098d6389e336bfb444132be6032e292eab19f.tar.bz2 external_python_setuptools-f85098d6389e336bfb444132be6032e292eab19f.zip |
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
-rwxr-xr-x | setup.py | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |