forked from spine-tools/spine-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (61 loc) · 1.97 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
[project]
name = "spine_engine"
dynamic = ["version"]
authors = [{name = "Spine Project consortium", email = "[email protected]"}]
license = {text = "LGPL-3.0-or-later"}
description = "A package to run Spine workflows."
keywords = ["energy system modelling", "workflow", "optimisation", "database"]
readme = {file = "README.md", content-type = "text/markdown"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: OS Independent",
]
requires-python = ">=3.8.1, <3.12"
dependencies = [
# dagster >= 0.12.9 requires alembic that is incompatible with spinedb_api
"dagster>=0.12.6, <0.12.9",
# dagster versions lower that 1.5.7 do not support pendulum >= 3.0.0
"pendulum < 3.0.0",
# https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
"protobuf<3.21.0",
"networkx>2.5.1",
"datapackage>=1.15.2, <1.16",
"jupyter_client>=6.0",
"spinedb_api>=0.30.3",
"pyzmq >=21.0",
# dagster 0.12.8 requires Jinja2<3.0, which tries to import
# soft_unicode, which has been removed in markupsafe 2.1
"markupsafe < 2.1",
]
[project.urls]
Repository = "https://github.com/spine-tools/spine-engine"
[project.optional-dependencies]
dev = ["coverage[toml]"]
[build-system]
requires = ["setuptools>=64", "setuptools_scm[toml]>=6.2", "wheel", "build"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "spine_engine/version.py"
version_scheme = "release-branch-semver"
[tool.setuptools]
zip-safe = false
[tool.setuptools.package-data]
spine_engine = ["execution_managers/spine_repl.jl"]
[tool.setuptools.packages.find]
exclude = [
"bin*",
"docs*",
"fig*",
"tests*",
]
[tool.coverage.run]
source = ["spine_engine"]
branch = true
concurrency = ["multiprocessing", "thread"]
disable_warnings = ["no-data-collected"]
[tool.coverage.report]
ignore_errors = true
[tool.black]
line-length = 120
exclude = '\.git'