mirror of
https://github.com/drewcassidy/yaclog.git
synced 2024-09-01 14:58:58 +00:00
Migrate to PEP621
This commit is contained in:
parent
dccde1909b
commit
21defeffce
@ -1,9 +1,62 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = [
|
requires = [
|
||||||
"setuptools >= 35.0.2",
|
"setuptools>=61",
|
||||||
"setuptools_scm[toml] >= 3.4",
|
"setuptools_scm>=6.2",
|
||||||
"wheel"
|
"wheel"
|
||||||
]
|
]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[tool.setuptools_scm]
|
[project]
|
||||||
|
name = "yaclog"
|
||||||
|
description = "Yet another changelog CLI tool."
|
||||||
|
readme = "README.md"
|
||||||
|
license = { file = "LICENSE.md" }
|
||||||
|
authors = [{ name = "Andrew Cassidy", email = "drewcassidy@me.com" }]
|
||||||
|
keywords = ["changelog", "commandline", "markdown"]
|
||||||
|
classifiers = [
|
||||||
|
"Development Status :: 5 - Production/Stable",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"License :: OSI Approved :: GNU Affero General Public License v3",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Topic :: Text Processing :: Markup :: Markdown",
|
||||||
|
"Topic :: Software Development :: Version Control :: Git",
|
||||||
|
"Topic :: Utilities"
|
||||||
|
]
|
||||||
|
|
||||||
|
requires-python = ">= 3.8"
|
||||||
|
dependencies = [
|
||||||
|
"Click >= 7.0",
|
||||||
|
"GitPython >= 3",
|
||||||
|
"packaging >= 20"
|
||||||
|
]
|
||||||
|
dynamic = ["version"]
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
docs = [
|
||||||
|
"Sphinx >= 3.5",
|
||||||
|
"sphinx-click >= 2.7",
|
||||||
|
"sphinx-rtd-theme",
|
||||||
|
"myst-parser >= 0.14",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
yaclog = "yaclog.cli.__main__:cli"
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
Source = "https://github.com/drewcassidy/yaclog"
|
||||||
|
Changelog = "https://github.com/drewcassidy/yaclog/blob/main/CHANGELOG.md"
|
||||||
|
Docs = "https://yaclog.readthedocs.io/"
|
||||||
|
|
||||||
|
[tool.setuptools_scm]
|
||||||
|
|
||||||
|
[tool.setuptools]
|
||||||
|
include-package-data = false
|
||||||
|
|
||||||
|
[tool.setuptools.packages.find]
|
||||||
|
include = ["yaclog", "yaclog.*"]
|
||||||
|
exclude = ["tests*"]
|
||||||
|
namespaces = false
|
50
setup.cfg
50
setup.cfg
@ -1,50 +0,0 @@
|
|||||||
[metadata]
|
|
||||||
# until setuptools supports PEP621, this will have to do
|
|
||||||
name = yaclog
|
|
||||||
description = Yet another changelog CLI tool.
|
|
||||||
author = Andrew Cassidy
|
|
||||||
license = AGPLv3
|
|
||||||
license_file = LICENSE.md
|
|
||||||
long_description = file: README.md
|
|
||||||
long_description_content_type = text/markdown
|
|
||||||
|
|
||||||
keywords = changelog, commandline, markdown
|
|
||||||
classifiers =
|
|
||||||
Development Status :: 5 - Production/Stable
|
|
||||||
Intended Audience :: Developers
|
|
||||||
License :: OSI Approved :: GNU Affero General Public License v3
|
|
||||||
Operating System :: OS Independent
|
|
||||||
Programming Language :: Python :: 3 :: Only
|
|
||||||
Programming Language :: Python :: 3
|
|
||||||
Programming Language :: Python :: 3.8
|
|
||||||
Programming Language :: Python :: 3.9
|
|
||||||
Topic :: Text Processing :: Markup :: Markdown
|
|
||||||
Topic :: Software Development :: Version Control :: Git
|
|
||||||
Topic :: Utilities
|
|
||||||
|
|
||||||
project_urls =
|
|
||||||
Source = https://github.com/drewcassidy/yaclog
|
|
||||||
Changelog = https://github.com/drewcassidy/yaclog/blob/main/CHANGELOG.md
|
|
||||||
Docs = https://yaclog.readthedocs.io/
|
|
||||||
|
|
||||||
[options]
|
|
||||||
install_requires =
|
|
||||||
Click >= 7.0, < 9.0
|
|
||||||
GitPython >= 3
|
|
||||||
packaging >= 20
|
|
||||||
python_requires = >= 3.8
|
|
||||||
packages = find:
|
|
||||||
|
|
||||||
[options.extras_require]
|
|
||||||
docs =
|
|
||||||
Sphinx >= 3.5
|
|
||||||
sphinx-click >= 2.7
|
|
||||||
sphinx-rtd-theme
|
|
||||||
myst-parser >= 0.14
|
|
||||||
|
|
||||||
[options.entry_points]
|
|
||||||
console_scripts =
|
|
||||||
yaclog = yaclog.cli.__main__:cli
|
|
||||||
|
|
||||||
[options.packages.find]
|
|
||||||
exclude = tests.*
|
|
Loading…
Reference in New Issue
Block a user