[Python-checkins] python/nondist/sandbox/setuptools setup.py, 1.9, 1.10
pje@users.sourceforge.net
pje at users.sourceforge.net
Mon Jun 6 05:30:50 CEST 2005
Update of /cvsroot/python/python/nondist/sandbox/setuptools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11400
Modified Files:
setup.py
Log Message:
Update distribution metadata so 'setup.py register' works; add 'extra_path'
so that setuptools can install itself in egg form.
Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/setup.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- setup.py 5 Jun 2005 21:55:41 -0000 1.9
+++ setup.py 6 Jun 2005 03:30:48 -0000 1.10
@@ -1,18 +1,34 @@
#!/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 at 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 @@
),
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()]
)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
More information about the Python-checkins
mailing list