Skip to content

Commit

Permalink
Remove setup.cfg in favor of pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamRJensen committed Oct 15, 2024
1 parent 8733a5e commit c519788
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 50 deletions.
54 changes: 50 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,52 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name = "twoaxistracking"
authors = [
{name = "Adam R. Jensen", email = "[email protected]"},
{name = "Kevin S. Anderson"},
]
description = "twoaxistracking is a python package for simulating two-axis tracking solar collectors, particularly self-shading."
readme = "README.md"
requires-python = ">=3.9"
keywords = ["solar energy", "photovoltaics", "solar collector", "shading"]
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Intended Audience :: Science/Research",
]
dependencies = [
'importlib-metadata; python_version<"3.10"',
"numpy",
"matplotlib",
"shapely",
"pandas",
]
dynamic = ["version"]

[project.optional-dependencies]
test = ["pytest", "pytest-cov", "packaging"]
doc = [
"sphinx==8.1.1",
"myst-nb==1.1.2",
"sphinx-book-theme==1.1.3",
"pvlib==0.11.1",
"pandas==2.2.3",
]

[project.urls]
Documentation = "https://twoaxistracking.readthedocs.io"
Issues = "https://github.com/pvlib/twoaxistracking/issues"
Repository = "https://github.com/pvlib/twoaxistracking.git"

[tool.pytest.ini_options]
addopts = "--cov=twoaxistracking --cov-fail-under=100 --cov-report=term-missing"

[tool.coverage.run]
# Do not count the test files themselves toward coverage
omit = "twoaxistracking/tests/*"
46 changes: 0 additions & 46 deletions setup.cfg

This file was deleted.

0 comments on commit c519788

Please sign in to comment.