-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
91 lines (82 loc) · 2.33 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
84
85
86
87
88
89
90
91
[tool.poetry]
name = "BuildingMOTIF"
version = "0.3.0"
description = "Building Metadata OnTology Interoperability Framework"
license = "LICENSE"
authors = [
"Hannah Eslinger <Hannah.Eslinger@nrel.gov>",
"Gabriel Fierro <gtfierro@mines.edu>",
"Selam Haile <Selam.Haile@nrel.gov>",
"Avijit Saha <Avijit.Saha@nrel.gov>",
"Tobias Shapinsky <Tobias.Shapinsky@nrel.gov>",
"Matthew Steen <Matthew.Steen@nrel.gov>"
]
readme = "docs/README.md"
repository = "https://github.com/NREL/BuildingMOTIF"
documentation = "https://buildingmotif.readthedocs.io/"
[tool.poetry.scripts]
buildingmotif = 'buildingmotif.bin.cli:app'
[tool.poetry.dependencies]
python = ">=3.8.1, <3.12"
rdflib = ">=7.0"
SQLAlchemy = {extras = ["mypy"], version = "^1.4.44"}
pyaml = "^21.10.1"
networkx = "^2.7.1"
types-PyYAML = "^6.0.4"
nbmake = "^1.3.0"
rdflib-sqlalchemy = "^0.5.3"
pyshacl = "^0.28"
alembic = "^1.8.0"
Flask = "^2.1.2"
Flask-API = "^3.0.post1"
rfc3987 = "^1.3.8"
setuptools = "^73.0.1"
psycopg2 = {version="^2.9.5", optional=true}
pygit2 = "~1.11.1"
jsonschema = "^4.21.1"
brick-tq-shacl = {optional = true, version="0.3.3a3"}
werkzeug="^2.3.7"
types-jsonschema = "^4.21.0.20240311"
[tool.poetry.group.dev.dependencies]
black = "^22.3.0"
isort = "^5.10.1"
pre-commit = "^2.17.0"
pytest-cov = "^3.0.0"
mypy = "v1.9.0"
sqlalchemy2-stubs = "^0.0.2a38"
psycopg2-binary = "^2.9.5"
jupytext = "^1.13.8"
jupyter = "^1.0.0"
ipykernel = "^6.13.0"
rise = "^5.7.1"
jupyter-book = "^0.15.1"
flake8 = "^5.0.0"
BAC0 = "^22.9.21"
netifaces = "^0.11.0"
pytz = "^2022.7.1"
openpyxl = "^3.0.10"
pytest = "^8.0.2"
[tool.poetry.extras]
all = ["BAC0", "openpyxl", "netifaces", "pytz", "psycopg2"]
postgres = ["psycopg2"]
topquadrant = ["brick-tq-shacl"]
# dependencies for ingresses (e.g. BAC0, openpyxl) should be included in dev dependencies
bacnet-ingress = ["BAC0", "netifaces", "pytz"]
xlsx-ingress = ["openpyxl"]
all-ingresses = ["BAC0", "openpyxl", "netifaces", "pytz"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
extend-exclude = "docs/conf.py"
[tool.isort]
profile = "black"
[tool.mypy]
files = ["buildingmotif/*.py", "tests/*.py", "migrations/*.py"]
plugins = "sqlalchemy.ext.mypy.plugin"
follow_imports = "skip"
[tool.pytest.ini_options]
log_cli_level = "WARNING"
markers = [
"integration: mark a test as an integration test"
]