PEP621ify things

This commit is contained in:
Andrew Cassidy 2024-08-26 23:49:00 -07:00
parent 553ed836bb
commit 40bff2ac00
2 changed files with 46 additions and 42 deletions

View File

@ -1,9 +1,52 @@
[build-system]
requires = [
"setuptools >= 35.0.2",
"setuptools_scm[toml] >= 3.4",
"setuptools>=64",
"setuptools_scm>=8",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[project]
name = "yaclog-ksp"
description = "Kerbal Space Program changelog file generator"
readme = "README.md"
authors = [{ name = "Andrew Cassidy", email = "drewcassidy@me.com" }]
keywords = ["changelog", "commandline", "markdown", "KSP"]
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",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Text Processing :: Markup :: Markdown",
"Topic :: Software Development :: Version Control :: Git",
"Topic :: Utilities",
"Topic :: Games/Entertainment :: Simulation"
]
requires-python = ">= 3.8"
dependencies = [
"Click >= 8.0",
"yaclog >= 1.0"
]
dynamic = ["version"]
[project.scripts]
yaclog-ksp = "yaclog_ksp.__main__:main"
[project.urls]
Source = "https://github.com/drewcassidy/yaclog-ksp"
Changelog = "https://github.com/drewcassidy/yaclog-ksp/blob/main/CHANGELOG.md"
"Forum Post" = "https://forum.kerbalspaceprogram.com/index.php?/topic/201784-*"
[tool.setuptools_scm]
[tool.setuptools.packages.find]
include = ["yaclog_ksp"]

View File

@ -1,39 +0,0 @@
[metadata]
# until setuptools supports PEP621, this will have to do
name = yaclog-ksp
description = Kerbal Space Program changelog file generator
author = Andrew Cassidy
license = AGPLv3
license_file = LICENSE.md
long_description = file: README.md
long_description_content_type = text/markdown
keywords = changelog, commandline, markdown, KSP
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 :: Games/Entertainment :: Simulation
Topic :: Text Processing :: Markup :: Markdown
Topic :: Utilities
project_urls =
Changelog = https://github.com/drewcassidy/yaclog-ksp/blob/main/CHANGELOG.md
Source = https://github.com/drewcassidy/yaclog-ksp
Forum Post = https://forum.kerbalspaceprogram.com/index.php?/topic/201784-*
[options]
install_requires =
Click >= 7.0, < 9.0
yaclog ~= 1.0
python_requires = >= 3.8
packages = find:
[options.entry_points]
console_scripts =
yaclog-ksp = yaclog_ksp.__main__:main