changed setup script

This commit is contained in:
Matthias@Dell 2023-10-21 13:29:39 +02:00
parent 9563641e05
commit 4e324fb571
2 changed files with 33 additions and 33 deletions

33
pyproject.toml Normal file
View File

@ -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 = ["."]

View File

@ -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" ],
},
)