##// END OF EJS Templates
core: switched bumpversion to pyproject setup, to deprecate bumpversion
super-admin -
r1308:5c188ed8 default
parent child Browse files
Show More
@@ -1,73 +1,94 b''
1 1 [build-system]
2 2 requires = ["setuptools>=61.0.0", "wheel"]
3 3 build-backend = "setuptools.build_meta"
4 4
5 5 [project]
6 6 name = "rhodecode-vcsserver"
7 7 description = "Version Control System Server for RhodeCode"
8 8 authors = [
9 9 {name = "RhodeCode GmbH", email = "support@rhodecode.com"},
10 10 ]
11 11
12 12 license = {text = "GPL V3"}
13 13 requires-python = ">=3.10"
14 14 dynamic = ["version", "readme", "dependencies", "optional-dependencies"]
15 15 classifiers = [
16 16 'Development Status :: 6 - Mature',
17 17 'Intended Audience :: Developers',
18 18 'Operating System :: OS Independent',
19 19 'Topic :: Software Development :: Version Control',
20 20 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
21 21 'Programming Language :: Python :: 3.10',
22 22 ]
23 23
24 24 [project.entry-points."paste.app_factory"]
25 25 main = "vcsserver.http_main:main"
26 26
27 27
28 28 [tool.setuptools]
29 29 packages = ["vcsserver"]
30 30
31 31 [tool.setuptools.dynamic]
32 32 readme = {file = ["README.rst"], content-type = "text/rst"}
33 33 version = {file = "vcsserver/VERSION"}
34 34 dependencies = {file = ["requirements.txt"]}
35 35 optional-dependencies.tests = {file = ["requirements_test.txt"]}
36 36
37 37 [tool.ruff]
38 38
39 39 select = [
40 40 # Pyflakes
41 41 "F",
42 42 # Pycodestyle
43 43 "E",
44 44 "W",
45 45 # isort
46 46 "I001"
47 47 ]
48 48
49 49 ignore = [
50 50 "E501", # line too long, handled by black
51 51 ]
52 52
53 53 # Same as Black.
54 54 line-length = 120
55 55
56 56 [tool.ruff.isort]
57 57
58 58 known-first-party = ["vcsserver"]
59 59
60 60 [tool.ruff.format]
61 61
62 62 # Like Black, use double quotes for strings.
63 63 quote-style = "double"
64 64
65 65 # Like Black, indent with spaces, rather than tabs.
66 66 indent-style = "space"
67 67
68 68 # Like Black, respect magic trailing commas.
69 69 skip-magic-trailing-comma = false
70 70
71 71 # Like Black, automatically detect the appropriate line ending.
72 72 line-ending = "auto"
73 73
74
75 [tool.bumpversion]
76 current_version = "5.4.0"
77 parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
78 serialize = ["{major}.{minor}.{patch}"]
79 search = "{current_version}"
80 replace = "{new_version}"
81 regex = false
82 ignore_missing_version = false
83 ignore_missing_files = false
84 tag = false
85 sign_tags = false
86 tag_name = "v{new_version}"
87 tag_message = "release(version-bump): {current_version} → {new_version}"
88 allow_dirty = false
89 commit = false
90 message = "release(version-bump): {current_version} → {new_version}"
91 commit_args = ""
92 setup_hooks = []
93 pre_commit_hooks = []
94 post_commit_hooks = []
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now