|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=70.1", "setuptools_scm>=6.2"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | + |
| 6 | +[project] |
| 7 | +name = "pvanalytics" |
| 8 | +description = "PVAnalytics is a python library for the analysis of photovoltaic system-level data." |
| 9 | +authors = [ |
| 10 | + { name = "pvanalytics Contributors", email = "[email protected]" }, |
| 11 | +] |
| 12 | +requires-python = ">=3.8" |
| 13 | +dependencies = [ |
| 14 | + 'numpy >= 1.20.0', |
| 15 | + 'pandas >= 1.3.0', |
| 16 | + 'pvlib >= 0.9.4', |
| 17 | + 'scipy >= 1.6.0', |
| 18 | + 'statsmodels >= 0.13.0', |
| 19 | + 'scikit-image >= 0.18.0', |
| 20 | +] |
| 21 | +license = "MIT" |
| 22 | +classifiers = [ |
| 23 | + 'Development Status :: 4 - Beta', |
| 24 | + 'Operating System :: OS Independent', |
| 25 | + 'Intended Audience :: Science/Research', |
| 26 | + 'Programming Language :: Python :: 3', |
| 27 | + 'Topic :: Scientific/Engineering', |
| 28 | +] |
| 29 | +readme.text = """ |
| 30 | +PVAnalytics is a collection of functions for working with data |
| 31 | +from photovoltaic power systems. The library includes functions for |
| 32 | +general data quality tests such as outlier detection, validation that |
| 33 | +data is physically plausible, filtering data for specific conditions, |
| 34 | +and labeling specific features in the data. |
| 35 | +
|
| 36 | +Documentation: https://pvanalytics.readthedocs.io |
| 37 | +
|
| 38 | +Source code: https://github.com/pvlib/pvanalytics |
| 39 | +""" |
| 40 | +readme.content-type = "text/x-rst" |
| 41 | +dynamic = ["version"] |
| 42 | + |
| 43 | + |
| 44 | +[project.optional-dependencies] |
| 45 | +optional = [ |
| 46 | + 'ruptures', |
| 47 | +] |
| 48 | +doc = [ |
| 49 | + 'sphinx == 4.5.0', |
| 50 | + 'pydata-sphinx-theme == 0.8.1', |
| 51 | + 'sphinx-gallery', |
| 52 | + 'matplotlib', |
| 53 | + 'pyarrow', |
| 54 | + # the following are needed for sphinx < 5. TODO upgrade to sphinx>5, and |
| 55 | + # get rid of these pins. |
| 56 | + # https://github.com/sphinx-doc/sphinx/issues/11890 |
| 57 | + # https://stackoverflow.com/questions/77848565/sphinxcontrib-applehelp-breaking-sphinx-builds-with-sphinx-version-less-than-5-0 |
| 58 | + 'sphinxcontrib-applehelp==1.0.4', |
| 59 | + 'sphinxcontrib-devhelp==1.0.2', |
| 60 | + 'sphinxcontrib-htmlhelp==2.0.1', |
| 61 | + 'sphinxcontrib-qthelp==1.0.3', |
| 62 | + 'sphinxcontrib-serializinghtml==1.1.5', |
| 63 | +] |
| 64 | +test = [ |
| 65 | + 'pytest', |
| 66 | + 'pytest-cov', |
| 67 | + 'packaging', |
| 68 | +] |
| 69 | +all = ["pvlib[test,optional,doc]"] |
| 70 | + |
| 71 | +[project.urls] |
| 72 | +"Bug Tracker" = "https://github.com/pvlib/pvanalytics/issues" |
| 73 | +Documentation = "https://pvanalytics.readthedocs.io/" |
| 74 | +"Source Code" = "https://github.com/pvlib/pvanalytics" |
| 75 | + |
| 76 | + |
| 77 | +[tool.setuptools.packages.find] |
| 78 | +include = ["pvanalytics*"] |
| 79 | + |
| 80 | + |
| 81 | +[tool.setuptools.package-data] |
| 82 | +pvanalytics = ["pvanalytics/data/*"] |
| 83 | + |
| 84 | +[tool.setuptools_scm] |
0 commit comments