aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2023-10-05 07:23:14 +0300
committerAlfred Wingate <parona@protonmail.com>2023-10-05 17:35:33 +0300
commit8234247d0d228d2311a2cb3cc9c710ca828bc759 (patch)
tree6f960a4877b8b6fcffac068280fd3640d01a5b03
parentpyproject.toml: Use modern setuptools backend (diff)
downloadelogv-8234247d0d228d2311a2cb3cc9c710ca828bc759.tar.gz
elogv-8234247d0d228d2311a2cb3cc9c710ca828bc759.tar.bz2
elogv-8234247d0d228d2311a2cb3cc9c710ca828bc759.zip
Move metadata from setup.py to pyproject.toml
Signed-off-by: Alfred Wingate <parona@protonmail.com>
-rw-r--r--pyproject.toml12
-rw-r--r--setup.py9
2 files changed, 13 insertions, 8 deletions
diff --git a/pyproject.toml b/pyproject.toml
index fed528d..09f77b9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,15 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
+
+[project]
+name = "elogv"
+version = "0.8.0"
+authors = [
+ {name = "Luca Marturana", email = "lucamarturana@gmail.com"},
+]
+license = {text = "GPL-2"}
+description = "Curses based utility to view elogs created by Portage"
+
+[project.urls]
+homepage = "https://gitweb.gentoo.org/proj/elogv.git/"
diff --git a/setup.py b/setup.py
index 682254f..631a6c7 100644
--- a/setup.py
+++ b/setup.py
@@ -204,14 +204,7 @@ class install_manpages(Command):
man_pages = glob("man/*")
-setup(name="elogv",
- version="0.8.0",
- author="Luca Marturana",
- author_email="lucamarturana@gmail.com",
- license="GPL-2",
- description="Curses based utility to view elogs created by Portage",
- url="https://gitweb.gentoo.org/proj/elogv.git/",
- packages=[],
+setup(packages=[],
scripts=['elogv'],
cmdclass={
'extract_messages': messages,