-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
103 lines (87 loc) · 2.61 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
95
96
97
98
99
100
101
102
103
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "tno.sdg.tabular.gen.cluster_based"
description = "Cluster Based Synthetic Data Generation"
readme = "README.md"
authors = [{ name = "TNO PET Lab", email = "petlab@tno.nl" }]
maintainers = [{ name = "TNO PET Lab", email = "petlab@tno.nl" }]
keywords = [
"TNO",
"SDG",
"synthetic data",
"synthetic data generation",
"tabular",
]
license = { text = "Apache License, Version 2.0" }
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Typing :: Typed",
"Topic :: Scientific/Engineering",
]
urls = { Homepage = "https://pet.tno.nl/", Documentation = "https://docs.pet.tno.nl/sdg/tabular/gen/cluster_based/0.2.0", Source = "https://github.com/TNO-SDG/tabular.gen.cluster_based" }
dynamic = ["version"]
requires-python = ">=3.9"
dependencies = [
"pandas>2.0,<3.0",
"scikit-learn>=1.0,<2.0",
"typing_extensions>=4.4; python_version<'3.12'",
]
[project.optional-dependencies]
tests = [
"pytest>=8.1",
"matplotlib>=3.0,<4.0",
"pandas-stubs>2.0,<3.0"
]
[tool.setuptools]
platforms = ["any"]
[tool.setuptools.dynamic]
version = {attr = "tno.sdg.tabular.gen.cluster_based.__version__"}
[tool.setuptools.package-data]
"*" = ["py.typed"]
[tool.coverage.run]
branch = true
omit = ["*/test/*"]
[tool.coverage.report]
precision = 2
show_missing = true
[tool.isort]
profile = "black"
known_tno = "tno"
known_first_party = "tno.sdg.tabular.gen.cluster_based"
sections = "FUTURE,STDLIB,THIRDPARTY,TNO,FIRSTPARTY,LOCALFOLDER"
no_lines_before = "LOCALFOLDER"
[tool.mypy]
mypy_path = "src,stubs"
strict = true
show_error_context = true
namespace_packages = true
explicit_package_bases = true
[tool.pytest.ini_options]
addopts = "--ignore=scripts"
[tool.tbump.version]
current = "0.2.0"
regex = '''
\d+\.\d+\.\d+(-(.*))?
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
[[tool.tbump.file]]
src = "pyproject.toml"
search = "current = \"{current_version}\""
[[tool.tbump.file]]
src = "src/tno/sdg/tabular/gen/cluster_based/__init__.py"
search = "__version__ = \"{current_version}\""
[[tool.tbump.file]]
src = "CITATION.cff"
search = "version: {current_version}"
[[tool.tbump.file]]
src = "README.md"
search = '\[here\]\(https:\/\/docs.pet.tno.nl/[^\.]*\/{current_version}'