forked from pvlib/pvlib-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
107 lines (96 loc) · 3.03 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[build-system]
requires = ["setuptools>=61", "wheel", "setuptools_scm>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "pvlib"
description = "A set of functions and classes for simulating the performance of photovoltaic energy systems."
authors = [
{ name = "pvlib python Developers", email = "[email protected]" },
]
requires-python = ">=3.9"
dependencies = [
'numpy >= 1.19.3',
'pandas >= 1.3.0',
'pytz',
'requests',
'scipy >= 1.6.0',
'h5py',
]
license = { text = "BSD-3-Clause" }
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
]
readme.text = """
pvlib python is a community developed toolbox that provides a set of
functions and classes for simulating the performance of photovoltaic
energy systems and accomplishing related tasks. The core mission of pvlib
python is to provide open, reliable, interoperable, and benchmark
implementations of PV system models.
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
"""
readme.content-type = "text/x-rst"
dynamic = ["version"]
[project.optional-dependencies]
optional = [
'cython',
'ephem',
'nrel-pysam',
'numba >= 0.17.0',
'solarfactors',
'statsmodels',
]
doc = [
'ipython',
'pickleshare', # required by ipython
'matplotlib',
'sphinx == 7.3.7',
'pydata-sphinx-theme == 0.15.4',
'sphinx-gallery',
'docutils == 0.21',
'pillow',
'sphinx-toggleprompt == 0.5.2',
'sphinx-favicon',
'solarfactors',
]
test = [
'pytest',
'pytest-cov',
'pytest-mock',
'requests-mock',
'pytest-timeout',
'pytest-rerunfailures',
'pytest-remotedata',
'packaging',
]
all = ["pvlib[test,optional,doc]"]
[project.urls]
"Bug Tracker" = "https://github.com/pvlib/pvlib-python/issues"
Documentation = "https://pvlib-python.readthedocs.io/"
"Source Code" = "https://github.com/pvlib/pvlib-python"
[tool.setuptools.packages.find]
include = ["pvlib*"]
[tool.setuptools_scm]
[tool.pytest]
junit_family = "xunit2"
testpaths = "pvlib/tests"
# warning messages to suppress from pytest output. useful in cases
# where a dependency hasn't addressed a deprecation yet, and there's
# nothing we can do to fix it ourselves.
# syntax is: action:message:category:module:lineno
# `message` is a regex matching start of warning message
# https://docs.python.org/3/library/warnings.html#the-warnings-filter
filterwarnings = [
"ignore:Using or importing the ABCs:DeprecationWarning:.*patsy:",
# deprecation warnings from numpy 1.20
"ignore:`np.long` is a deprecated alias:DeprecationWarning:.*numba:",
"ignore:`np.int` is a deprecated alias:DeprecationWarning:.*(numba|scipy):",
"ignore:`np.bool` is a deprecated alias:DeprecationWarning:.*numba:",
]