-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
94 lines (81 loc) · 2.04 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
92
93
94
[project]
name = "tz-client"
dynamic = ["version"]
description = "A Python Client for programmatic interactions with the platform by TransitionZero"
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
keywords = ["energy", "systems"]
authors = [
{name = "Lucas Kruitwagen", email = "[email protected]" },
]
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers = [
"Development Status :: 3 - Alpha",
]
dependencies = [
"pandas>2",
"pydantic>2",
"requests>=2.31",
"httpx>0.25",
"click>8.1",
"shapely",
"python-dotenv",
]
[project.optional-dependencies] # Optional
dev = [
"pre-commit",
"black",
"pytest",
"pytest-order",
"pytest-asyncio",
"pytest-cov",
"mypy",
"tox",
"coverage",
"types-requests",
"pandas-stubs",
"python-dotenv",
"datamodel-code-generator",
]
geo = [
"geopandas",
]
[project.urls] # Optional
"Homepage" = "https://github.com/transition-zero/tz-client"
"Bug Reports" = "https://github.com/transition-zero/tz-client/issues"
"Funding" = "https://transitionzero.org"
"Source" = "https://github.com/transition-zero/tz-client"
# The following would provide a command line executable called `tz`
# which executes the function `main` from this package when invoked.
[project.scripts] # Optional
tz = "tz.client.cli:main"
# This is configuration specific to the `setuptools` build backend.
# If you are using a different build backend, you will need to change this.
[tool.setuptools]
# If there are data files included in your packages that need to be
# installed, specify them here.
# package-data = {"sample" = ["*.dat"]}
[tool.setuptools.packages]
find = {}
[tool.pytest.ini_options]
python_files = [
"test_*.py",
"*_test.py",
"tests.py",
]
addopts = [
"-ra",
"--strict-markers",
"--doctest-modules",
"--doctest-glob=\\*.rst",
]
testpaths = [
"tests"
]
[tool.bandit]
exclude_dirs = ["tests"]
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]