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