summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-03-27 11:15:22 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-03-27 11:15:22 +0000
commitc253b72d38b0e1cc51a89c50398a0a1262c40043 (patch)
treec910a4f4ceb7919bdf40982eb4a5885a1023c116 /setup.py
parentdb3320c49ba7f7cd3f7966d34d7b229308ff88e3 (diff)
downloadnumpy-c253b72d38b0e1cc51a89c50398a0a1262c40043.tar.gz
Use global for distutils metat-data, so that we can pull them from paver.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py37
1 files changed, 25 insertions, 12 deletions
diff --git a/setup.py b/setup.py
index bf83a91f3..51742839c 100755
--- a/setup.py
+++ b/setup.py
@@ -34,6 +34,19 @@ Operating System :: Unix
Operating System :: MacOS
"""
+NAME = 'numpy',
+MAINTAINER = "NumPy Developers",
+MAINTAINER_EMAIL = "numpy-discussion@scipy.org",
+DESCRIPTION = DOCLINES[0],
+LONG_DESCRIPTION = "\n".join(DOCLINES[2:]),
+URL = "http://numpy.scipy.org",
+DOWNLOAD_URL = "http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103",
+LICENSE = 'BSD',
+CLASSIFIERS = filter(None, CLASSIFIERS.split('\n')),
+AUTHOR = "Travis E. Oliphant, et.al.",
+AUTHOR_EMAIL = "oliphant@enthought.com",
+PLATFORMS = ["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
+
# BEFORE importing distutils, remove MANIFEST. distutils doesn't properly
# update it when the contents of directories change.
if os.path.exists('MANIFEST'): os.remove('MANIFEST')
@@ -74,18 +87,18 @@ def setup_package():
try:
setup(
- name = 'numpy',
- maintainer = "NumPy Developers",
- maintainer_email = "numpy-discussion@scipy.org",
- description = DOCLINES[0],
- long_description = "\n".join(DOCLINES[2:]),
- url = "http://numpy.scipy.org",
- download_url = "http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103",
- license = 'BSD',
- classifiers=filter(None, CLASSIFIERS.split('\n')),
- author = "Travis E. Oliphant, et.al.",
- author_email = "oliphant@enthought.com",
- platforms = ["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
+ name=NAME,
+ maintainer=MAINTAINER,
+ maintainer_email=MAINTAINER_EMAIL,
+ description=DESCRIPTION,
+ long_description=LONG_DESCRIPTION,
+ url=URL,
+ download_url=DOWNLOAD_URL,
+ license=LICENSE,
+ classifiers=CLASSIFIERS,
+ author=AUTHOR,
+ author_email=AUTHOR_EMAIL,
+ platforms=PLATFORMS,
configuration=configuration )
finally:
del sys.path[0]