From 8288f190e6af224a4c4e7b8de8e60a334b016660 Mon Sep 17 00:00:00 2001 From: Karl Voit Date: Sun, 1 Mar 2026 14:42:59 +0100 Subject: [PATCH] pyproject.toml: updated for uv + pypi publishing and published 2026.3.1.1 --- poetry.lock | 7 ------ pyproject.toml | 52 +++++++++++++++++++++++++++++--------------- requirements-dev.txt | 1 - 3 files changed, 35 insertions(+), 25 deletions(-) delete mode 100644 poetry.lock delete mode 100644 requirements-dev.txt diff --git a/poetry.lock b/poetry.lock deleted file mode 100644 index a4abe38..0000000 --- a/poetry.lock +++ /dev/null @@ -1,7 +0,0 @@ -# This file is automatically @generated by Poetry and should not be changed by hand. -package = [] - -[metadata] -lock-version = "2.0" -python-versions = "^3.11" -content-hash = "81b2fa642d7f2d1219cf80112ace12d689d053d81be7f7addb98144d56fc0fb2" diff --git a/pyproject.toml b/pyproject.toml index b1b0ee0..c8d5c13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,18 +1,19 @@ - [project] name = "date2name" -readme = "README.org" +description = "Handling time-stamps and date-stamps in file names" +version = "2026.03.01.1" +license = "GPL-3.0-or-later" +readme = { file = "README.org", content-type = "text/plain" } keywords = ["file managing", "file management", "files", "date", "time", "time-stamps"] classifiers=[ "Programming Language :: Python :: 3 :: Only", "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: End Users/Desktop", - "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", ] +requires-python = ">=3.13" authors = [{name="Karl Voit", email="tools@Karl-Voit.at"}] -license = {file = "LICENSE.txt"} [project.urls] Homepage = "https://github.com/novoid/date2name" @@ -22,21 +23,38 @@ Issues = "https://github.com/novoid/date2name/issues" [project.scripts] date2name="date2name:main" -[tool.poetry.scripts] -date2name="date2name:main" - -[tool.poetry] +[[tool.uv.index]] name = "date2name" -version = "2024.04.26.1" -description = "Handling time-stamps and date-stamps in file names" -authors = ["Karl Voit "] -license = "GPL v3" -readme = "README.org" +url = "https://test.pypi.org/simple/" +publish-url = "https://test.pypi.org/legacy/" +explicit = true -[tool.poetry.dependencies] -python = "^3.9" +[tool.setuptools.packages.find] +include = ["date2name*"] [build-system] -requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" +requires = ["setuptools>=78.1.0", "wheel>=0.45.1"] +build-backend = "setuptools.build_meta" + +[dependency-groups] +dev = [ + "pytest>=9.0.2", +] + +[tool.mypy] +strict = true +ignore_missing_imports = true + + +#[tool.poetry.scripts] +#date2name="date2name:main" +# +#[tool.poetry] +#name = "date2name" +#version = "2024.04.26.1" +#description = "Handling time-stamps and date-stamps in file names" +#authors = ["Karl Voit "] +#license = "GPL v3" +#readme = "README.org" + diff --git a/requirements-dev.txt b/requirements-dev.txt deleted file mode 100644 index e079f8a..0000000 --- a/requirements-dev.txt +++ /dev/null @@ -1 +0,0 @@ -pytest