Skip to content

add extras_require complete and test options #566

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 9 commits into from
Sep 11, 2018
Merged
Show file tree
Hide file tree
Changes from 5 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
3 changes: 3 additions & 0 deletions docs/sphinx/source/whatsnew/v0.6.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ Enhancements
* Add DC model methods ``'desoto'`` and ``'pvsyst'`` to ModelChain (:issue:`487`)
* Add the CEC module model in `pvsystem.calcparams_cec` and `ModelChain.cec`. (:issue:`463`)
* Add DC model methods desoto and pvsyst to ModelChain (:issue:`487`)
* pvlib now ships with a pvlib[complete] installation option to automatically
install all packages needed to support all pvlib features:
``pip install pvlib[complete]`` (:issue:`553`, :issue:`483`)
* Set default alpha to 1.14 in :func:`~pvlib.atmosphere.angstrom_aod_at_lambda` (:issue:`563`)


Expand Down
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@
'pytz',
'six',
]
TESTS_REQUIRE = ['pytest', 'nose']
TESTS_REQUIRE = ['pytest', 'pytest-cov', 'pytest-mock', 'nose']
EXTRAS_REQUIRE = {
'complete': ['scipy', 'tables', 'numba', 'siphon', 'netcdf4', 'ephem'],
'doc': ['sphinx', 'ipython', 'sphinx_rtd_theme', 'numpydoc',
'matplotlib'],
'test': TESTS_REQUIRE
}

CLASSIFIERS = [
'Development Status :: 4 - Beta',
Expand Down Expand Up @@ -94,6 +100,7 @@
cmdclass=versioneer.get_cmdclass(),
packages=PACKAGES,
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
tests_require=TESTS_REQUIRE,
ext_modules=extensions,
description=DESCRIPTION,
Expand Down