mirror of
https://codeberg.org/james-smith-za/git-tidy-python.git
synced 2026-01-15 19:29:25 +02:00
Flesh out pyproject.toml to allow properly installing
Mostly because I'd like to be able to install it with uv, so it's entirely for selfish reasons.
This commit is contained in:
parent
a0ce83fb72
commit
412444eb6e
2 changed files with 57 additions and 7 deletions
|
|
@ -1,13 +1,54 @@
|
|||
[tool.black]
|
||||
[build-system]
|
||||
requires = ["setuptools>=45", "setuptools-scm[toml]>=6.2", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "git-tidy-python"
|
||||
dynamic = ["version"]
|
||||
description = "A time-saving device for a developer using git."
|
||||
authors = [
|
||||
{name = "James Smith"}
|
||||
]
|
||||
readme = "README.md"
|
||||
license = {text = "GPL-3.0-or-later"}
|
||||
requires-python = ">=3.8"
|
||||
dependencies = []
|
||||
keywords = ["git", "cli", "developer-tools", "automation", "branch-management"]
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
"Environment :: Console",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Software Development :: Version Control :: Git",
|
||||
"Topic :: Utilities"
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
git-tidy = "git_tidy:main"
|
||||
|
||||
[tool.setuptools]
|
||||
py-modules = ["git_tidy"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 120
|
||||
include = '\.pyi?$'
|
||||
exclude ='''
|
||||
/(
|
||||
| \.git
|
||||
| \.mypy_cache
|
||||
| \.git
|
||||
| \.mypy_cache
|
||||
)/
|
||||
'''
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
line_length = 120
|
||||
|
||||
[tool.setuptools_scm]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue