conv to pyproject toml

This commit is contained in:
Mirek Kratochvil 2025-10-13 18:07:46 +02:00
parent f256ed31ca
commit 94984cecd8
2 changed files with 33 additions and 29 deletions

33
pyproject.toml Normal file
View file

@ -0,0 +1,33 @@
[project]
name = "patchodon"
description="Send and receive git patchsets via Mastodon"
authors = [
{name = "Mirek Kratochvil", email = "exa.exa@gmail.com"},
]
readme = "README.md"
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
keywords = ["git", "mastodon", "patch"]
classifiers = [
"Development Status :: 4 - BetaIntended Audience :: Science/Research",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Topic :: Communications",
"Topic :: Software Development :: Version Control :: Git",
"Topic :: Utilities",
]
dynamic = ["version"]
dependencies=[
"requests>=2.25",
"html2text>=2025",
]
requires-python = ">= 3"
[project.urls]
Homepage = "https://gitlab.com/exaexa/patchodon"
[project.scripts]
patchodon = "patchodon:main"

View file

@ -1,29 +0,0 @@
from setuptools import setup
setup(
name="patchodon",
version="0.1.0",
description="Send and receive git patchsets via Mastodon",
url="https://gitlab.com/exaexa/patchodon",
author="Mirek Kratochvil",
author_email="exa.exa@gmail.com",
license="GPLv3+",
packages=["patchodon"],
install_requires=[
"requests>=2.25",
"html2text>=2025",
],
classifiers=[
"Development Status :: 4 - BetaIntended Audience :: Science/Research",
(
"License :: OSI Approved :: GNU General Public License v3 or later"
" (GPLv3+)"
),
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Topic :: Communications",
"Topic :: Software Development :: Version Control :: Git",
"Topic :: Utilities",
],
)