Skip to content

minor changes to setup.py #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 1, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = '[email protected]'
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