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