summaryrefslogtreecommitdiffstatshomepage
path: root/pyproject.toml
blob: d55624eb43ccb80acc422cc994b52910b13874d6 (plain) (blame)
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]
# The SPDX license identifiers are available from 77.0.3:
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files
requires = ["setuptools >= 77.0.3", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name = "cgitize"
description = "Self-host your repositories using cgit"
license = "MIT"
license-files = ["LICENSE.txt"]
dynamic = ["version"]
authors = [{name = "Egor Tensin", email = "egor@tensin.name"}]
readme = "README.md"
requires-python = ">=3.9"

dependencies = [
    "atlassian-python-api ~= 4.0",
    'importlib-metadata ~= 4.0 ; python_version < "3.8"',
    "PyGithub ~= 2.0",
    "python-gitlab ~= 6.0",
    "tomli >= 1,< 3",
]

classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Programming Language :: Python :: 3",
    "Topic :: Software Development :: Version Control :: Git",
]

[project.urls]
"Homepage" = "https://github.com/egor-tensin/cgitize"
"Bug Tracker" = "https://github.com/egor-tensin/cgitize/issues"

[project.scripts]
cgitize = "cgitize.main:main"

[tool.setuptools]
packages = ["cgitize"]

[tool.setuptools_scm]

[tool.pylint.main]
# Enable Pylint to be run in the venv:
init-hook = """
try: import pylint_venv
except ImportError: pass
else: pylint_venv.inithook()
"""

[tool.pylint."messages control"]
disable = [
    "missing-docstring",
]