diff --git a/README.md b/README.md index d66e90598a..0f09b047eb 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/sphinx/source/index.rst b/docs/sphinx/source/index.rst index 519609c32b..caa171f292 100644 --- a/docs/sphinx/source/index.rst +++ b/docs/sphinx/source/index.rst @@ -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 `_. diff --git a/docs/sphinx/source/whatsnew/v0.3.3.txt b/docs/sphinx/source/whatsnew/v0.3.3.txt index f3bcbcb90e..25338ea71c 100644 --- a/docs/sphinx/source/whatsnew/v0.3.3.txt +++ b/docs/sphinx/source/whatsnew/v0.3.3.txt @@ -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 diff --git a/setup.py b/setup.py index 19168520c7..2bf29468e2 100755 --- a/setup.py +++ b/setup.py @@ -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 = 'holmgren@email.arizona.edu' 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', @@ -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 } @@ -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,