forked from TurBoss/JauriaCNC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
54 lines (42 loc) · 1.19 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
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry]
name = "turbonc"
version = "0.0.0"
authors = [
"TurBoss <[email protected]>"
]
description = "TurBo NC - A QtPyVCP based Virtual Control Panel for LinuxCNC"
readme = "README.md"
packages = [
{ include = "tnc", from = "src" },
]
[tool.poetry.dependencies]
python = "^3.11"
[tool.poetry.scripts]
tnc = "tnc:main"
[tool.poetry.plugins]
[tool.poetry.plugins."qtpyvcp.vcp"]
tnc = "tnc"
[tool.poetry.plugins."qtpyvcp.widgets"]
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
pattern = "^(?P<base>\\d+\\.\\d+\\.\\d+)?"
[tool.poetry-dynamic-versioning.files."src/tnc/_version.py"]
persistent-substitution = true
initial-content = """
# These version placeholders will be replaced later during substitution.
__version__ = "0.0.0"
__version_tuple__ = (0, 0, 0)
"""
[tool.poetry-dynamic-versioning.substitution]
files = ["_version.py"]
patterns = [
'''(^__version__\s*(?::.*?)?=\s*['"])[^'"]*(['"])''',
{ value = '''(^__version_tuple__\s*(?::.*?)?=\s*\()[^)]*(\))''', mode = "tuple" },
]
folders = [
{ path = "src/tnc/" }
]