Commit b9192326 authored by PJ Eby's avatar PJ Eby

Update distribution metadata so 'setup.py register' works; add 'extra_path'

so that setuptools can install itself in egg form.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041043
parent 217798f9
#!/usr/bin/env python
"""Distutils setup file, used to install or test 'setuptools'"""
VERSION = "0.4a1"
from setuptools import setup, find_packages, Require
from distutils.version import LooseVersion
setup(
name="setuptools",
version="0.4a1",
version=VERSION,
description="Download, build, install, upgrade, and uninstall Python "
"packages -- easily!",
description="Distutils packaging and installation enhancements",
author="Phillip J. Eby",
author_email="peak@eby-sarna.com",
license="PSF or ZPL",
long_description =
"Setuptools enhances the distutils with support for Python Eggs "
"(http://peak.telecommunity.com/DevCenter/PythonEggs) and more. Its "
"'EasyInstall' tool "
"(http://peak.telecommunity.com/DevCenter/EasyInstall) lets you "
"download and install (or cleanly upgrade) Python packages on your "
"system, from source distributions, subversion checkouts, SourceForge "
"download mirrors, or from Python Eggs. Been looking for a CPAN "
"clone for Python? When combined with PyPI, this gets pretty darn "
"close. See the home page and download page for details and docs.",
keywords = "CPAN PyPI distutils eggs package management",
url = "http://peak.telecommunity.com/PythonEggs",
download_url = "http://peak.telecommunity.com/DevCenter/EasyInstall",
test_suite = 'setuptools.tests.test_suite',
requires = [
......@@ -21,8 +37,46 @@ setup(
),
Require('PyUnit', None, 'unittest', "http://pyunit.sf.net/"),
],
packages = find_packages(),
py_modules = ['pkg_resources', 'easy_install'],
scripts = ['easy_install.py']
scripts = ['easy_install.py'],
extra_path = ('setuptools', 'setuptools-%s.egg' % VERSION),
classifiers = [f.strip() for f in """
Development Status :: 3 - Alpha
Intended Audience :: Developers
License :: OSI Approved :: Python Software Foundation License
License :: OSI Approved :: Zope Public License
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development :: Libraries :: Python Modules
Topic :: System :: Archiving :: Packaging
Topic :: System :: Systems Administration
Topic :: Utilities
""".splitlines() if f.strip()]
)
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