Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: cc6495f215
Fetching contributors…

Cannot retrieve contributors at this time

executable file 43 lines (35 sloc) 1.261 kb
#!/usr/bin/env python
"""Setup file for the Python datarray package."""
import os
# 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')
from distutils.core import setup
# Get version and release info, which is all stored in datarray/version.py
ver_file = os.path.join('datarray', 'version.py')
execfile(ver_file)
opts = dict(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,
version=VERSION,
packages=PACKAGES,
package_data=PACKAGE_DATA,
requires=REQUIRES,
)
# Only add setuptools-specific flags if the user called for setuptools, but
# otherwise leave it alone
import sys
if 'setuptools' in sys.modules:
opts['zip_safe'] = False
# Now call the actual setup function
if __name__ == '__main__':
setup(**opts)
Jump to Line
Something went wrong with that request. Please try again.