Skip to content

Commit

Permalink
Merge pull request #10 from wholmgren/fixsetup
Browse files Browse the repository at this point in the history
minor changes to setup.py
  • Loading branch information
bmu committed Mar 1, 2015
2 parents 78724f5 + 373eaea commit 4b1fec6
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,23 @@
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')
with open(version_file, 'r') as f:
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,
Expand All @@ -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']
Expand Down

0 comments on commit 4b1fec6

Please sign in to comment.