diff --git a/setup.py b/setup.py index db5155ef5c..6a831e2ada 100644 --- a/setup.py +++ b/setup.py @@ -11,15 +11,14 @@ except ImportError: raise RuntimeError('setuptools is required') -DESCRIPTION = 'Pythonic port of the python port of the PVLIB package' +DESCRIPTION = 'The PVLIB toolbox provides a set functions for simulating the performance of photovoltaic energy systems.' LONG_DESCRIPTION = open('README.md').read() -# consider changing name to pythonic-pvlib DISTNAME = 'pvlib' LICENSE = 'The BSD 3-Clause License' AUTHOR = 'Dan Riley, Clifford Hanson, Rob Andrews, Will Holmgren, github contributors' MAINTAINER_EMAIL = 'holmgren@email.arizona.edu' -URL = 'https://github.com/UARENForecasting/pythonic-PVLIB' +URL = 'https://github.com/pvlib/pvlib-python' # imports __version__ into the local namespace version_file = os.path.join(os.path.dirname(__file__), 'pvlib/version.py') @@ -27,8 +26,8 @@ exec(f.read()) # check python version. -#if sys.version_info[:2] != (2, 7): -# sys.exit('%s requires Python 2.7' % DISTNAME) +if not sys.version_info[:2] in ((2,7), (3,3), (3,4)): + sys.exit('%s requires Python 2.7, 3.3, or 3.4' % DISTNAME) setuptools_kwargs = { 'zip_safe': False, @@ -42,15 +41,8 @@ } # more packages that we should consider requiring: -# 'scipy >= 0.14.0', -# 'matplotlib', -# 'ipython >= 2.0', -# 'pyzmq >= 2.1.11', -# 'jinja2', -# 'tornado', # 'pyephem', - # set up pvlib packages to be installed and extensions to be compiled PACKAGES = ['pvlib', 'pvlib.spa_c_files']