summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-02-20 02:52:04 (GMT)
committerGuido van Rossum <guido@python.org>2003-02-20 02:52:04 (GMT)
commit14ee89c785fe61c9397dfdd457994a2ba601a00b (patch)
treece29e2874fe7d8a4578b88005b38eac72b309774 /setup.py
parent12471d63893f84cb88deccf83af5aa5c6866c275 (diff)
downloadcpython-14ee89c785fe61c9397dfdd457994a2ba601a00b.zip
cpython-14ee89c785fe61c9397dfdd457994a2ba601a00b.tar.gz
cpython-14ee89c785fe61c9397dfdd457994a2ba601a00b.tar.bz2
Add PEP 301 metadata.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py44
1 files changed, 42 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index ed6a9be..7fd0f75 100644
--- a/setup.py
+++ b/setup.py
@@ -1056,12 +1056,52 @@ class PyBuildInstallLib(install_lib):
def is_chmod_supported(self):
return hasattr(os, 'chmod')
+SUMMARY = """
+Python is an interpreted, interactive, object-oriented programming
+language. It is often compared to Tcl, Perl, Scheme or Java.
+
+Python combines remarkable power with very clear syntax. It has
+modules, classes, exceptions, very high level dynamic data types, and
+dynamic typing. There are interfaces to many system calls and
+libraries, as well as to various windowing systems (X11, Motif, Tk,
+Mac, MFC). New built-in modules are easily written in C or C++. Python
+is also usable as an extension language for applications that need a
+programmable interface.
+
+The Python implementation is portable: it runs on many brands of UNIX,
+on Windows, DOS, OS/2, Mac, Amiga... If your favorite system isn't
+listed here, it may still be supported, if there's a C compiler for
+it. Ask around on comp.lang.python -- or just try compiling Python
+yourself.
+"""
+
+CLASSIFIERS = """
+Development Status :: 3 - Alpha
+Development Status :: 6 - Mature
+License :: OSI Approved :: Python Software Foundation License
+Natural Language :: English
+Programming Language :: C
+Programming Language :: Python
+Topic :: Software Development
+"""
+
def main():
# turn off warnings when deprecated modules are imported
import warnings
warnings.filterwarnings("ignore",category=DeprecationWarning)
- setup(name = 'Python standard library',
- version = '%d.%d' % sys.version_info[:2],
+ setup(# PyPI Metadata (PEP 301)
+ name = "Python",
+ version = sys.version.split()[0],
+ url = "http://www.python.org/%s" % sys.version[:3],
+ maintainer = "Guido van Rossum and the Python community",
+ maintainer_email = "python-dev@python.org",
+ description = "A high-level object-oriented programming language",
+ long_description = SUMMARY.strip(),
+ license = "PSF license",
+ classifiers = filter(None, CLASSIFIERS.split("\n")),
+ platforms = ["Many"],
+
+ # Build info
cmdclass = {'build_ext':PyBuildExt, 'install':PyBuildInstall,
'install_lib':PyBuildInstallLib},
# The struct module is defined here, because build_ext won't be