-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
83 lines (76 loc) · 3.15 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
72
73
74
75
76
77
78
79
80
81
82
83
[tool.poetry]
name = "geojson-modelica-translator"
version = "0.9.1"
description = "Package for converting GeoJSON to Modelica models for urban scale analyses."
authors = ["URBANopt DES Team <[email protected]>"]
license = "BSD-4-Clause"
readme = "README.md"
homepage = "https://docs.urbanopt.net"
repository = "https://github.com/urbanopt/geojson-modelica-translator"
documentation = "https://docs.urbanopt.net/geojson-modelica-translator/"
keywords = ["URBANopt", "Modelica", "GeoJSON", "Physics-based Modeling"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
packages = [
{ include = "management" },
{ include = "geojson_modelica_translator" },
]
[tool.poetry.dependencies]
# https://python-poetry.org/docs/dependency-specification/#version-constraints
python = ">=3.10, <3.14"
BuildingsPy = "~=5.1"
click = "~=8.1"
geojson = "~=3.1"
jinja2 = "~=3.1"
jsonpath-ng = "~=1.6"
jsonschema = "~=4.20"
modelica-builder = "~=0.6.0"
# modelica-builder = { path = "../modelica-builder", develop = true }
# modelica-builder = { git = "https://github.com/urbanopt/modelica-builder.git", branch = "develop"}
pandas = "~2"
requests = "~=2.28"
teaser = "1.1.0"
# teaser = { git = "https://github.com/RWTH-EBC/TEASER.git", branch = "development" }
# myst-parser = "^4.0.0"
[tool.poetry.group.dev.dependencies]
coveralls = "~=3.3"
rpds-py = "^0.22.0"
mypy = "~=1.14"
pre-commit = "~=4.0"
pytest = "~=8.3"
pytest-cov = "~=4.1"
syrupy = "~=4.8"
# documentation - these are used during development of docs, not deployment
markdown-include = "~=0.8.1"
mkdocs-material = "~=9.5"
mkdocs-schema-reader = "~=0.11.1"
mkdocstrings-python = "~=1.12"
[build-system]
requires = ["poetry-core>=2.0.1"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
uo_des = 'management.uo_des:cli'
format_modelica_files = "management.format_modelica_files:format_modelica_files"
check_sys_params = 'management.check_sys_params:check_sys_params'
[tool.pytest.ini_options]
# There is a bug/issue with pytest and click where the test tries to write to the
# log after the log file has been closed. This causes the test to fail. The --capture=no
# is a workaround for this issue for now see https://github.com/pytest-dev/pytest/issues/5502#issuecomment-1020761655.
addopts = "--capture=no"
log_cli = true
log_cli_level = "DEBUG"
markers = [
"simulation: marks tests that run a simulation with docker/optimica (deselect with '-m \"not simulation\"'). All simulations now require MSL v4.",
"compilation: marks tests that are for compiling a simulation with docker/optimica (deselect with '-m \"not compilation\"'). All simulations now require MSL v4.",
"dymola: mark tests that are for running only in Dymola, which requires a local install and license (deselect with '-m \"not dymola\"').",
"docker: mark tests that are for testing Docker (deselect with '-m \"not docker\"').",
]