Skip to content

change authors, clean up setup.py #186

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 4 commits into from
Jun 1, 2016
Merged
Show file tree
Hide file tree
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
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ pvlib-python
[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.50141.svg)](http://dx.doi.org/10.5281/zenodo.50141)


pvlib-python is a community supported tool that provides a set of functions and classes for simulating the performance of photovoltaic energy systems.
The toolbox was originally developed in MATLAB at Sandia National Laboratories and it implements many of the models and methods developed at the Labs.
More information on Sandia Labs PV performance modeling programs can be found at https://pvpmc.sandia.gov/.
We collaborate with the PVLIB-MATLAB project, but operate independently of it.
PVLIB Python is a community supported tool that provides a set of
functions and classes for simulating the performance of photovoltaic
energy systems. PVLIB Python was originally ported from the PVLIB MATLAB
toolbox developed at Sandia National Laboratories and it implements many
of the models and methods developed at the Labs. More information on
Sandia Labs PV performance modeling programs can be found at
https://pvpmc.sandia.gov/. We collaborate with the PVLIB MATLAB project,
but operate independently of it.


Documentation
Expand Down
14 changes: 8 additions & 6 deletions docs/sphinx/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
pvlib-python
========================================

pvlib-python provides a set of documented functions for simulating the
performance of photovoltaic energy systems. The toolbox was originally
developed in MATLAB at Sandia National Laboratories and it implements
many of the models and methods developed at the Labs. More information
on Sandia Labs PV performance modeling programs can be found at
https://pvpmc.sandia.gov/.
PVLIB Python is a community supported tool that provides a set of
functions and classes for simulating the performance of photovoltaic
energy systems. PVLIB Python was originally ported from the PVLIB MATLAB
toolbox developed at Sandia National Laboratories and it implements many
of the models and methods developed at the Labs. More information on
Sandia Labs PV performance modeling programs can be found at
https://pvpmc.sandia.gov/. We collaborate with the PVLIB MATLAB project,
but operate independently of it.

The source code for pvlib-python is hosted on `github
<https://github.com/pvlib/pvlib-python>`_.
Expand Down
2 changes: 2 additions & 0 deletions docs/sphinx/source/whatsnew/v0.3.3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Documentation
* Fix version number in 0.3.2 whatsnew file.
* Shorten README.md file and move information to official documentation.
(:issue:`182`)
* Change authors to *PVLIB Python Developers* and clean up setup.py.
(:issue:`184`)


Contributors
Expand Down
46 changes: 31 additions & 15 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,38 @@
import versioneer


DESCRIPTION = 'The PVLIB toolbox provides a set functions for simulating the performance of photovoltaic energy systems.'
LONG_DESCRIPTION = open('README.md').read()
DESCRIPTION = ('A set of functions and classes for simulating the ' +
'performance of photovoltaic energy systems.')
LONG_DESCRIPTION = """
PVLIB Python is a community supported tool that provides a set of
functions and classes for simulating the performance of photovoltaic
energy systems. PVLIB Python was originally ported from the PVLIB MATLAB
toolbox developed at Sandia National Laboratories and it implements many
of the models and methods developed at the Labs. More information on
Sandia Labs PV performance modeling programs can be found at
https://pvpmc.sandia.gov/. We collaborate with the PVLIB MATLAB project,
but operate independently of it.

We need your help to make pvlib-python a great tool!

Documentation: http://pvlib-python.readthedocs.io

Source code: https://github.com/pvlib/pvlib-python
"""

DISTNAME = 'pvlib'
LICENSE = 'The BSD 3-Clause License'
AUTHOR = 'Dan Riley, Clifford Hanson, Rob Andrews, Will Holmgren, github contributors'
LICENSE = 'BSD 3-Clause'
AUTHOR = 'PVLIB Python Developers'
MAINTAINER_EMAIL = '[email protected]'
URL = 'https://github.com/pvlib/pvlib-python'

INSTALL_REQUIRES = ['numpy >= 1.8.2',
'pandas >= 0.13.1',
'pytz',
'six',
]
TESTS_REQUIRE = ['nose']

CLASSIFIERS = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
Expand All @@ -39,17 +62,8 @@
'Topic :: Scientific/Engineering',
]

# check python version.
if not sys.version_info[:2] in ((2,7), (3,3), (3,4), (3,5)):
sys.exit('%s requires Python 2.7, 3.3, or 3.4' % DISTNAME)

setuptools_kwargs = {
'zip_safe': False,
'install_requires': ['numpy >= 1.8.2',
'pandas >= 0.13.1',
'pytz',
'six',
],
'scripts': [],
'include_package_data': True
}
Expand All @@ -68,18 +82,20 @@
print('all spa_c files found')
PACKAGES.append('pvlib.spa_c_files')

spa_ext = Extension('pvlib.spa_c_files.spa_py',
spa_ext = Extension('pvlib.spa_c_files.spa_py',
sources=spa_sources, depends=spa_depends)
extensions.append(spa_ext)
else:
print('WARNING: spa_c files not detected. ' +
'See installation instructions for more information.')


setup(name=DISTNAME,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages=PACKAGES,
install_requires=INSTALL_REQUIRES,
tests_require=TESTS_REQUIRE,
ext_modules=extensions,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
Expand Down