forked from UU-BUEM/buem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (94 loc) · 2.07 KB
/
Copy pathpyproject.toml
File metadata and controls
104 lines (94 loc) · 2.07 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[build-system]
requires = ["setuptools>=61.0", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "buem"
dynamic = ["version"]
description = "Building energy model for analysis of hourly thermal load(ISO 52019-1:2017, 5R1C)"
authors = [
{ name="Somadutta Sahoo", email="s.sahoo@uu.nl" }
]
readme = "README.md"
license = {text = "MIT License"}
requires-python = ">=3.14"
keywords = [
"building",
"energy-model",
"energy-communities",
"parameterization",
"open-source",
"heating-cooling",
"python",
]
classifiers = [
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: GIS",
]
dependencies = [
"cvxpy",
"flask",
"flask-swagger-ui",
"joblib",
"jsonschema",
"marshmallow>=4.0.0",
"marshmallow-dataclass>=8.0.0",
"matplotlib",
"numba",
"numpy",
"openpyxl",
"pandas",
"psutil",
"psycopg2",
"pulp",
"pvlib",
"pyarrow",
"python-dotenv",
"scipy",
"xarray",
"netCDF4",
]
[project.optional-dependencies]
# Optional sub-package, now an independent repo in the UU-BUEM organisation.
# Not published to PyPI, so it needs a direct git reference.
occupancy = [
"occupancy @ git+https://github.com/enerplanet/occupancy.git@fix/config-path-resolution",
]
weather = [
"weather",
]
server = [
"gunicorn",
]
dev = [
"mypy",
"pytest",
"pytest-cov",
"ruff",
]
[project.scripts]
buem = "buem.cli:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
buem = [
"apis/openapi.yaml",
"data/**/*",
"softwares/**/*",
"integration/json_schema/**/*",
]
[tool.setuptools_scm]
version_file = "src/buem/_version.py"
fallback_version = "0.1.3"
[tool.ruff]
line-length = 120
target-version = "py314"
[tool.ruff.lint]
extend-ignore = ["E203", "E501"]
[tool.mypy]
ignore_missing_imports = true
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]