-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
71 lines (63 loc) · 2.06 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
[build-system]
requires = [
"setuptools >= 67",
"setuptools_scm >= 8",
"wheel",
]
build-backend = "setuptools.build_meta"
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
[project]
name = "ThermalNetwork"
dynamic = [
"readme",
"version",
]
authors = [
{ name="Matt Mitchell", email="mitchute@gmail.com" },
{ name="Nathan Moore", email="nathan.moore@nrel.gov" },
]
description = "A thermal network solver for GHE sizing."
requires-python = ">=3.9,<3.13"
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Scientific/Engineering",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
'click ~= 8.1',
'ghedesigner ~= 1.5',
'pandas ~= 2.0',
"rich ~= 13.0",
]
[project.optional-dependencies]
dev = [
"pytest >= 6.0",
"pytest-cov ~= 5.0",
"pre-commit ~= 3.7",
"jupyterlab ~= 4.0",
"mkdocs-material ~= 9.5"
]
[project.urls]
"Homepage" = "https://github.com/NREL/ThermalNetwork"
"Bug Tracker" = "https://github.com/NREL/ThermalNetwork/issues"
# https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
[tool.setuptools.packages.find]
# Must include a MANIFEST.in file in our repo: https://setuptools.pypa.io/en/latest/userguide/datafiles.html
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata
[tool.setuptools.dynamic]
readme = {file = "README.md", content-type = "text/markdown"}
# https://setuptools-scm.readthedocs.io/
# Presence of this command tells it to find the version from GitHub
[tool.setuptools_scm]
# https://docs.pytest.org/en/6.2.x/customize.html#pyproject-toml
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = "thermalnetwork/tests"
# Manually add these flags to `pytest` when running locally for coverage details.
addopts = ["--cov=thermalnetwork", "--cov-report=html"]
[project.scripts]
thermalnetwork = "thermalnetwork.network:run_sizer_from_cli"