|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=61.0", "setuptools-scm>=8.0"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "bifacial_radiance" |
| 7 | +dynamic = ["version"] |
| 8 | +description = "Tools to interface with Radiance for the PV researcher" |
| 9 | +readme = "README.md" |
| 10 | +requires-python = ">=3.8" |
| 11 | +authors = [ |
| 12 | + {name = "Chris Deline", email = "chris.deline@nrel.gov"}, |
| 13 | + {name = "Silvana Ovaitt", email = "silvana.ovaitt@nrel.gov"} |
| 14 | +] |
| 15 | +keywords = ["bifacial", "radiance", "photovoltaics", "pv", "ray tracing"] |
| 16 | +classifiers = [ |
| 17 | + "Development Status :: 4 - Beta", |
| 18 | + "Intended Audience :: Science/Research", |
| 19 | + "License :: OSI Approved :: BSD-3-Clause", |
| 20 | + "Programming Language :: Python :: 3", |
| 21 | + "Programming Language :: Python :: 3.8", |
| 22 | + "Programming Language :: Python :: 3.9", |
| 23 | + "Programming Language :: Python :: 3.10", |
| 24 | + "Programming Language :: Python :: 3.11", |
| 25 | + "Programming Language :: Python :: 3.12", |
| 26 | + "Programming Language :: Python :: 3.13", |
| 27 | +] |
| 28 | +dependencies = [ |
| 29 | + "configparser", |
| 30 | + "deprecated", |
| 31 | + "pandas", |
| 32 | + "pvlib >= 0.8.0", |
| 33 | + "pvmismatch", |
| 34 | + "pyradiance", |
| 35 | + "requests", |
| 36 | + "scipy > 1.6.0", |
| 37 | + "tqdm", |
| 38 | +] |
| 39 | + |
| 40 | +[project.optional-dependencies] |
| 41 | +test = [ |
| 42 | + "pytest", |
| 43 | + "pytest-cov", |
| 44 | + "pySMARTS", |
| 45 | +] |
| 46 | +doc = [ |
| 47 | + "ipython", |
| 48 | + "sphinx >= 1.8.0", |
| 49 | + "sphinx-autoapi >= 1.1.0", |
| 50 | + "pydata-sphinx-theme >= 0.14.4", |
| 51 | + "nbsphinx >= 0.8.8", |
| 52 | + "sphinx-gallery >= 0.8.1", |
| 53 | +] |
| 54 | +all = [ |
| 55 | + "bifacial_radiance[test,doc]", |
| 56 | + "jupyter", |
| 57 | +] |
| 58 | + |
| 59 | +[project.urls] |
| 60 | +Homepage = "https://github.com/NREL/bifacial_radiance" |
| 61 | +Documentation = "https://bifacial-radiance.readthedocs.io" |
| 62 | +Repository = "https://github.com/NREL/bifacial_radiance" |
| 63 | +Issues = "https://github.com/NREL/bifacial_radiance/issues" |
| 64 | + |
| 65 | +[tool.setuptools] |
| 66 | +packages = ["bifacial_radiance"] |
| 67 | +include-package-data = true |
| 68 | + |
| 69 | +[tool.setuptools.package-data] |
| 70 | +bifacial_radiance = [ |
| 71 | + "data/ground.rad", |
| 72 | + "data/gencumulativesky.exe", |
| 73 | + "data/module.json", |
| 74 | + "data/default.ini", |
| 75 | + "images/*", |
| 76 | +] |
| 77 | + |
| 78 | +[tool.setuptools_scm] |
| 79 | +fallback_version = "0.5.0" |
| 80 | + |
| 81 | +[tool.pytest.ini_options] |
| 82 | +addopts = "--verbose" |
| 83 | + |
| 84 | +[tool.coverage.run] |
| 85 | +source = ["bifacial_radiance"] |
| 86 | + |
| 87 | +[tool.coverage.report] |
| 88 | +exclude_lines = [ |
| 89 | + "pragma: no cover", |
| 90 | + "def __repr__", |
| 91 | + "raise AssertionError", |
| 92 | + "raise NotImplementedError", |
| 93 | + "if __name__ == .__main__.:", |
| 94 | +] |
0 commit comments