aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2025-10-13 18:07:46 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2025-10-13 18:07:46 +0200
commit94984cecd846ec08f94f53eb1fecf8856776efbd (patch)
tree6ec06a305b7b55e8dd37cf02a6941dfba21bb35c
parentf256ed31ca0cf6ad1cbee8e1e1224d26de7b152a (diff)
downloadpatchodon-94984cecd846ec08f94f53eb1fecf8856776efbd.tar.gz
patchodon-94984cecd846ec08f94f53eb1fecf8856776efbd.tar.bz2
conv to pyproject toml
-rw-r--r--pyproject.toml33
-rw-r--r--setup.py29
2 files changed, 33 insertions, 29 deletions
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..d3cb064
--- /dev/null
+++ b/pyproject.toml
@@ -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"
diff --git a/setup.py b/setup.py
deleted file mode 100644
index 5da755b..0000000
--- a/setup.py
+++ /dev/null
@@ -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",
- ],
-)