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 107 108 109 110 111 112 113 114 115
|
[build-system]
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=6.0"]
build-backend = "setuptools.build_meta"
[project]
name = "git-cola"
authors = [
{name = "David Aguilar", email = "davvid@gmail.com"}
]
license = "GPL-2.0"
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Version Control :: Git",
]
description = "Git Cola is a powerful Git GUI with a slick and intuitive user interface."
dependencies = [
"importlib_metadata; python_version<'3.8'",
"polib >= 1.0.0",
"qtpy >= 1.1.0",
]
dynamic = ["version"]
readme = {file = "README.md", content-type = "text/markdown"}
[project.optional-dependencies]
testing = [
"pytest >= 6",
"pytest-checkdocs >= 2.4",
"pytest-enabler >= 2.2",
"pytest-ruff >= 0.2.1",
]
docs = [
"furo",
"sphinx",
"rst.linker >= 1.9",
]
# "extras" are optional packages that enable additional features when present.
extras = [
# Enables desktop notifications.
"notify2",
# Enables macOS-specific appearance themes.
"pyobjc; sys_platform == 'darwin'",
# Enables the "Send to Trash" feature.
"send2trash",
]
# Developer tools.
dev = [
"cercis",
"pyupgrade",
]
# Build and packaging tools.
build = [
"build",
"pynsist",
"setuptools >= 64.0",
"setuptools_scm[toml] >= 3.4.1",
"twine",
"wheel",
]
# Extra packages when installing for specific platforms or Qt versions.
pyqt5 = [
"PyQt5",
]
pyqt6 = [
"PyQt6",
]
pyside2 = [
"PySide2",
]
pyside6 = [
"PySide6",
]
[project.scripts]
cola = "cola.main:main"
git-cola = "cola.main:main"
git-dag = "cola.dag:main"
git-cola-sequence-editor = "cola.sequenceeditor:main"
[tool.cercis]
function-definition-extra-indent = false
line-length = 88
[tool.pytest-enabler.ruff]
addopts = "--ruff"
[tool.setuptools]
packages = [
"cola",
"cola.bin",
"cola.data",
"cola.i18n",
"cola.i18n.glossary",
"cola.icons",
"cola.icons.dark",
"cola.models",
"cola.widgets",
]
include-package-data = true
[tool.setuptools.package-data]
cola = [
"bin/*",
"data/*.html",
"i18n/*.po",
"i18n/glossary/*.po",
"icons/*.svg",
"icons/dark/*.svg",
]
[tool.setuptools_scm]
fallback_version = "4.16.1"
|