-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
106 lines (91 loc) · 2.58 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
104
105
106
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ocp_vscode"
version = "2.6.1"
authors = [{ name = "Bernhard Walter", email = "[email protected]" }]
description = "OCP CAD Viewer for VSCode"
readme = "README.md"
requires-python = ">=3.9"
keywords = [
"3d models",
"3d printing",
"3d viewing",
"3d",
"brep",
"cad",
"cadquery",
"opencscade",
"python",
]
license = { text = "Apache-2.0" }
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dependencies = [
"ocp-tessellate>=3.0.8,<3.1.0",
"requests",
"ipykernel",
"orjson",
"websockets>=13.0,<14.0",
"pyaml",
"flask>=3.0,<4.0",
"flask_sock>=0.7,<1.0",
"click>=8.1,<9.0",
]
[tool.setuptools]
packages = ["ocp_vscode"]
package-dir = { "" = "." }
[tool.setuptools.package-data]
ocp_vscode = ["templates/*.html", "static/css/*.css", "static/js/*.js"]
[project.optional-dependencies]
dev = ["questionary~=1.10.0", "bump-my-version", "black", "twine"]
[project.urls]
"Homepage" = "https://github.com/bernhard-42/vscode-ocp-cad-viewer"
"Bug Tracker" = "https://github.com/bernhard-42/vscode-ocp-cad-viewer/issues"
# black settings
[tool.black]
target-version = ["py39", "py310", "py311", "py312"]
line-length = 88
# bump-my-version settings
[tool.bumpversion]
current_version = "2.6.1"
commit = false
tag = false
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(?P<release>\\d*)(?P<build>\\d*)"
serialize = ["{major}.{minor}.{patch}"]
allow_dirty = true
message = "Bump version: {current_version} → {new_version}"
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
sign_tags = false
commit_args = ""
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "ocp_vscode/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'
[[tool.bumpversion.files]]
filename = "src/version.ts"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "package.json"
search = '"version": "{current_version}"'
replace = '"version": "{new_version}"'
[[tool.bumpversion.files]]
filename = "README.md"
search = 'OCP CAD Viewer {current_version}'
replace = 'OCP CAD Viewer {new_version}'