[Python-checkins] r53176 - sandbox/branches/setuptools-0.6/README.txt sandbox/branches/setuptools-0.6/setup.py
phillip.eby
python-checkins at python.org
Fri Dec 29 01:09:57 CET 2006
Author: phillip.eby
Date: Fri Dec 29 01:09:57 2006
New Revision: 53176
Added:
sandbox/branches/setuptools-0.6/README.txt
- copied unchanged from r53175, sandbox/trunk/setuptools/README.txt
Modified:
sandbox/branches/setuptools-0.6/setup.py
Log:
New installation instructions & credits (backport from trunk)
Modified: sandbox/branches/setuptools-0.6/setup.py
==============================================================================
--- sandbox/branches/setuptools-0.6/setup.py (original)
+++ sandbox/branches/setuptools-0.6/setup.py Fri Dec 29 01:09:57 2006
@@ -1,25 +1,14 @@
#!/usr/bin/env python
"""Distutils setup file, used to install or test 'setuptools'"""
-def get_description():
- # Get our long description from the documentation
- f = file('setuptools.txt')
- lines = []
- for line in f:
- if not line.strip():
- break # skip to first blank line
- for line in f:
- if line.startswith('.. contents::'):
- break # read to table of contents
- lines.append(line)
- f.close()
- return ''.join(lines)
-
from distutils.util import convert_path
-d = {}; execfile(convert_path('setuptools/command/__init__.py'), d)
-SETUP_COMMANDS = d['__all__']
+d = {}
+execfile(convert_path('setuptools/command/__init__.py'), d)
+
+SETUP_COMMANDS = d['__all__']
VERSION = "0.6c4"
+
from setuptools import setup, find_packages
import sys
scripts = []
@@ -30,9 +19,9 @@
description="Download, build, install, upgrade, and uninstall Python "
"packages -- easily!",
author="Phillip J. Eby",
- author_email="peak at eby-sarna.com",
+ author_email="distutils-sig at python.org",
license="PSF or ZPL",
- long_description = get_description(),
+ long_description = open('README.txt').read(),
keywords = "CPAN PyPI distutils eggs package management",
url = "http://peak.telecommunity.com/DevCenter/setuptools",
test_suite = 'setuptools.tests',
@@ -77,9 +66,6 @@
"dependency_links.txt = setuptools.command.egg_info:overwrite_arg",
],
-
-
-
"console_scripts": [
"easy_install = setuptools.command.easy_install:main",
"easy_install-%s = setuptools.command.easy_install:main"
@@ -93,6 +79,7 @@
['eggsecutable = setuptools.command.easy_install:bootstrap'],
},
+
classifiers = [f.strip() for f in """
Development Status :: 3 - Alpha
Intended Audience :: Developers
@@ -121,3 +108,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
More information about the Python-checkins
mailing list