diff --git a/pyproject.toml b/pyproject.toml index 2ddd03a..1952278 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,25 +1,21 @@ [build-system] -requires = ["setuptools>=42", "wheel"] -build-backend = "setuptools.build_meta" +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" -[project] +[tool.poetry] name = "appendfilename" version = "2025.5.14" description = "Intelligent appending text to file names, considering file extensions and file tags" -# readme = "README.org" readme = "README.md" -requires-python = ">=3.9" -license = {file = "license.txt"} -authors = [ - {name="Karl Voit", email="tools@Karl-Voit.at"}, -] +license = "GPL-3.0-or-later" +authors = ["Karl Voit "] keywords = [ "file managing", "file management", "files", "name", "time", - "time-stamps", + "time-stamps" ] classifiers = [ "Programming Language :: Python :: 3 :: Only", @@ -27,26 +23,17 @@ classifiers = [ "Environment :: Console", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", - "Operating System :: OS Independent", -] -dependencies = [ - "pyreadline3" + "Operating System :: OS Independent" ] -[project.optional-dependencies] -dev = [ - "build", - "pytest", -] +[tool.poetry.dependencies] +python = ">=3.9" +pyreadline3 = "*" -[project.urls] -Homepage = "https://github.com/novoid/appendfilename" -Repository = "https://github.com/novoid/appendfilename" -Issues = "https://github.com/novoid/appendfilename/issues" +[tool.poetry.dev-dependencies] +build = "*" +pytest = "*" -[project.scripts] +[tool.poetry.scripts] appendfilename = "appendfilename:main" -[tools.setuptools.packages.find] -where = ["."] -