-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 1.88 KB
/
pyproject.toml
File metadata and controls
74 lines (65 loc) · 1.88 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
[project]
name = "spinedb_api"
dynamic = ["version"]
authors = [{name = "Spine Project consortium", email = "spine_info@vtt.fi"}]
license = {text = "LGPL-3.0-or-later"}
description = "An API to talk to Spine databases."
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.10"
dependencies = [
"SQLAlchemy >=2.0, <2.1",
"alembic >=1.7",
"frictionless >=5.18",
"python-dateutil >=2.8.1",
"numpy >=1.20.2",
"scipy >=1.7.1",
"openpyxl >=3.0.7, !=3.1.1",
"GDX2py >=2.2.0",
"ijson >=3.1.4",
"chardet >=7.1",
"PyMySQL[rsa] >=1.0.2",
"psycopg2-binary",
"pyarrow >= 19.0",
"pandas >= 2.2.3",
]
[project.urls]
Repository = "https://github.com/spine-tools/Spine-Database-API"
[build-system]
requires = ["setuptools>=80", "setuptools_scm>=8", "wheel", "build"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "spinedb_api/version.py"
version_scheme = "guess-next-dev"
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
exclude = [
"bin*",
"docs*",
"fig*",
"tests*",
]
[tool.coverage.run]
source = ["spinedb_api"]
branch = true
[tool.coverage.report]
ignore_errors = true
[tool.black]
line-length = 120
force-exclude = '\.git|version.py'
[tool.isort]
profile = "black"
lines_between_sections = 0
force_sort_within_sections = true
honor_case_in_force_sorted_sections = true
known_third_party = ["alembic"] # The alembic migragration scripts confuse isort to think it is a 3rd party library.
src_paths = ["spinedb_api", "tests", "benchmarks"]
extend_skip = ["version.py"]
line_length = 120