1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
#!/usr/bin/env python
"""Distutils setup file, used to install or test 'setuptools'"""
VERSION = "0.5a3"
from setuptools import setup, find_packages, Require
setup(
name="setuptools",
version=VERSION,
description="Download, build, install, upgrade, and uninstall Python "
"packages -- easily!",
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/DevCenter/PythonEggs",
download_url = "http://peak.telecommunity.com/DevCenter/EasyInstall",
test_suite = 'setuptools.tests.test_suite',
requires = [
Require('Distutils','1.0.3','distutils',
"http://www.python.org/sigs/distutils-sig/"
),
Require('PyUnit', None, 'unittest', "http://pyunit.sf.net/"),
],
packages = find_packages(),
py_modules = ['pkg_resources', 'easy_install'],
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()]
)
|