From 4e324fb571785f85398c49afe8061fb9dc57bf01 Mon Sep 17 00:00:00 2001 From: "Matthias@Dell" Date: Sat, 21 Oct 2023 13:29:39 +0200 Subject: [PATCH] changed setup script --- pyproject.toml | 33 +++++++++++++++++++++++++++++++++ setup.py | 33 --------------------------------- 2 files changed, 33 insertions(+), 33 deletions(-) create mode 100644 pyproject.toml delete mode 100755 setup.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..00e3131 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,33 @@ +[build-system] +requires = ["setuptools"] + +[project] +name = "imgsort" +version = "1.2.0" +description = "A program that lets you easily sort images into different folders." +requires-python = ">=3.10" +readme = "README.md" +license = {file = "LICENSE"} +authors = [ + { name = "Matthias Quintern", email = "matthias.quintern@posteo.de" } +] +classifiers = [ + "Operating System :: POSIX :: Linux", + "Environment :: Console :: Curses", + "Programming Language :: Python :: 3", + "Topic :: Multimedia :: Graphics", + "Topic :: Utilities", + "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", +] +dependencies = [ +] + +[project.urls] +repository = "https://github.com/MatthiasQuintern/imgsort" + + +[project.scripts] +imgsort = "imgsort.sorter:main" + +[tool.setuptools.packages.find] +where = ["."] diff --git a/setup.py b/setup.py deleted file mode 100755 index 1d69ca0..0000000 --- a/setup.py +++ /dev/null @@ -1,33 +0,0 @@ -from setuptools import setup - -setup( - name="imgsort", - version="1.1", - description="A program that lets you easily sort images into different folders.", - - author="Matthias Quintern", - author_email="matthiasqui@protonmail.com", - - url="https://github.com/MatthiasQuintern/imgsort.git", - - license="GPLv3", - - packages=["imgsort"], #, "imgsort.sorter", "imgsort.config"], - # packages=setuptools.find_packages(), - install_requires=["ueberzug"], - - classifiers=[ - "Operating System :: POSIX :: Linux", - "Environment :: Console :: Curses", - "Programming Language :: Python :: 3", - "Topic :: Multimedia :: Graphics", - "Topic :: Utilities", - ], - - # scripts=["bin/imgsort"], - entry_points={ - "console_scripts": [ "imgsort=imgsort.sorter:main" ], - }, -) - -