convert setuptools.cfg to pyproject.toml

This commit is contained in:
Izalia Mae 2024-03-17 23:48:19 -04:00
parent ba8c8df3f0
commit ab0017283d
2 changed files with 51 additions and 60 deletions

View file

@ -1,9 +1,57 @@
[build-system]
requires = ["setuptools >= 38.3.0"]
build-backend = "setuptools.build_meta"
requires = [
"setuptools >= 38.3.0",
"wheel"
[project]
name = "Gemi"
version = "0.0.1"
authors = [{name = "Izalia Mae", email = "izalia@barkshark.xyz"}]
description = "Utilities for the Gemini protocol"
license = {text = "CNPL 7+"}
keywords = ["python module"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: Other/Proprietary License",
"License :: Non-Violent Public License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">= 3.9"
[project.urls]
Homepage = "https://git.barkshark.xyz/barkshark/gemi"
"Bug Tracker" = "https://git.barkshark.xyz/barkshark/gemi/issues"
Documentation = "https://git.barkshark.xyz/barkshark/gemi/wiki"
"Source Code" = "https://git.barkshark.xyz/barkshark/gemi"
[project.optional-dependencies]
doc = [
"furo == 2024.1.29",
"sphinx == 7.2.6",
"sphinx-external-toc == 1.0.1",
]
dev = [
"flake8 == 6.1.0",
"mypy == 1.9.0",
]
[tool.setuptools]
include-package-data = true
packages = ["gemi"]
platforms = ["any"]
license-files = ["LICENSE.md"]
[tool.distutils.bdist_wheel]
universal = false
[tool.distutils.sdist]
formats = "zip, gztar"
[tool.mypy]
show_traceback = true

View file

@ -1,57 +0,0 @@
[metadata]
name = Gemi
version = 0.0.1
author = Izalia Mae
author_email = izalia@barkshark.xyz
url = https://git.barkshark.xyz/barkshark/gemi
description = Utilities for the Gemini protocol
license = CNPL 7+
license_file = LICENSE.md
platform = any
keywords = python module
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Developers
License :: Other/Proprietary License
License :: Non-Violent Public License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development :: Libraries :: Python Modules
project_urls =
Bug Tracker = https://git.barkshark.xyz/barkshark/gemi/issues
Documentation = https://git.barkshark.xyz/barkshark/gemi/wiki
Source Code = https://git.barkshark.xyz/barkshark/gemi
[options]
include_package_data = true
python_requires = >= 3.9
packages =
gemi
setup_requires =
setuptools >= 38.3.0
[options.extras_require]
doc =
furo == 2024.1.29
sphinx == 7.2.6
sphinx-external-toc == 1.0.1
dev =
flake8 == 6.1.0
mypy == 1.9.0
[bdist_wheel]
universal = false
[sdist]
formats = zip, gztar
[flake8]
extend-ignore = ANN101,ANN204,E128,E251,E261,E266,E301,E303,W191
extend-exclude = docs, test*.py
per-file-ignores = __init__.py: F401
max-line-length = 100
indent-size = 4