Skip to content
6 changes: 2 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
import os
import sys
sys.path.insert(0, os.path.abspath('../../'))
sys.path.insert(0, os.path.abspath('../../src'))

# -- Project information -----------------------------------------------------

Expand Down Expand Up @@ -44,8 +44,7 @@

# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
# The theme to use for HTML and HTML Help pages.
html_theme = 'sphinx_book_theme'
html_title = 'Two-axis tracking'
html_logo = "_static/twoaxistracking_logo.svg"
Expand All @@ -68,7 +67,6 @@
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
html_show_copyright = False

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
'python': ('https://docs.python.org/3/', None),
'numpy': ('https://numpy.org/doc/stable/', None),
Expand Down
17 changes: 8 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ build-backend = "setuptools.build_meta"
include-package-data = false # necessary for exclude to work

[tool.setuptools.packages.find]
exclude = [
"twoaxistracking.tests*",
"docs*",
]
where = ["src"]

[project]
name = "twoaxistracking"
Expand All @@ -30,6 +27,11 @@ keywords = ["solar energy", "photovoltaics", "solar collector", "shading"]
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
Expand All @@ -44,7 +46,7 @@ dependencies = [
dynamic = ["version"]

[project.optional-dependencies]
test = ["pytest", "pytest-cov", "packaging"]
test = ["pytest>=7", "pytest-cov", "packaging"]
doc = [
"sphinx==8.1.1",
"myst-nb==1.1.2",
Expand All @@ -60,7 +62,4 @@ 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/*"]
pythonpath = ["src"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.