Skip to content

Commit 4b1fec6

Browse files
committed
Merge pull request #10 from wholmgren/fixsetup
minor changes to setup.py
2 parents 78724f5 + 373eaea commit 4b1fec6

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

setup.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,23 @@
1111
except ImportError:
1212
raise RuntimeError('setuptools is required')
1313

14-
DESCRIPTION = 'Pythonic port of the python port of the PVLIB package'
14+
DESCRIPTION = 'The PVLIB toolbox provides a set functions for simulating the performance of photovoltaic energy systems.'
1515
LONG_DESCRIPTION = open('README.md').read()
1616

17-
# consider changing name to pythonic-pvlib
1817
DISTNAME = 'pvlib'
1918
LICENSE = 'The BSD 3-Clause License'
2019
AUTHOR = 'Dan Riley, Clifford Hanson, Rob Andrews, Will Holmgren, github contributors'
2120
MAINTAINER_EMAIL = '[email protected]'
22-
URL = 'https://github.com/UARENForecasting/pythonic-PVLIB'
21+
URL = 'https://github.com/pvlib/pvlib-python'
2322

2423
# imports __version__ into the local namespace
2524
version_file = os.path.join(os.path.dirname(__file__), 'pvlib/version.py')
2625
with open(version_file, 'r') as f:
2726
exec(f.read())
2827

2928
# check python version.
30-
#if sys.version_info[:2] != (2, 7):
31-
# sys.exit('%s requires Python 2.7' % DISTNAME)
29+
if not sys.version_info[:2] in ((2,7), (3,3), (3,4)):
30+
sys.exit('%s requires Python 2.7, 3.3, or 3.4' % DISTNAME)
3231

3332
setuptools_kwargs = {
3433
'zip_safe': False,
@@ -42,15 +41,8 @@
4241
}
4342

4443
# more packages that we should consider requiring:
45-
# 'scipy >= 0.14.0',
46-
# 'matplotlib',
47-
# 'ipython >= 2.0',
48-
# 'pyzmq >= 2.1.11',
49-
# 'jinja2',
50-
# 'tornado',
5144
# 'pyephem',
5245

53-
5446
# set up pvlib packages to be installed and extensions to be compiled
5547
PACKAGES = ['pvlib',
5648
'pvlib.spa_c_files']

0 commit comments

Comments
 (0)