From 323724de27d3d9b1c05c27bf009f547979162985 Mon Sep 17 00:00:00 2001 From: Karl Voit Date: Sun, 1 Mar 2026 15:30:16 +0100 Subject: [PATCH] updated pyproject.toml for uv and published 2026.3.1.1 --- .gitignore | 1 + pyproject.toml | 43 ++++++++++++++++++++++++++++--------------- uv.lock | 23 +++++++++++++++++++++++ 3 files changed, 52 insertions(+), 15 deletions(-) create mode 100644 uv.lock diff --git a/.gitignore b/.gitignore index 492aafe..4a68488 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ manualtests/ build/ appendfilename.egg-info/ venv/ +update_mypi.sh diff --git a/pyproject.toml b/pyproject.toml index 1952278..f0956dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,11 @@ -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" -[tool.poetry] +[project] name = "appendfilename" -version = "2025.5.14" +version = "2026.03.01.1" description = "Intelligent appending text to file names, considering file extensions and file tags" -readme = "README.md" license = "GPL-3.0-or-later" +readme = { file = "README.org", content-type = "text/plain" } + authors = ["Karl Voit "] keywords = [ "file managing", @@ -22,18 +20,33 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: End Users/Desktop", - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent" ] +dependencies = [ + "pyreadline3>=3.5.4", +] -[tool.poetry.dependencies] -python = ">=3.9" -pyreadline3 = "*" -[tool.poetry.dev-dependencies] -build = "*" -pytest = "*" -[tool.poetry.scripts] -appendfilename = "appendfilename:main" +[project.urls] +Homepage = "https://github.com/novoid/appendfilename" +[project.scripts] +guessfilename = "appendfilename:main" + +[[tool.uv.index]] +name = "appendfilename" +url = "https://test.pypi.org/simple/" +publish-url = "https://test.pypi.org/legacy/" +explicit = true + +[tool.setuptools.packages.find] +include = ["appendfilename*"] + +[build-system] +requires = ["setuptools>=78.1.0", "wheel>=0.45.1"] +build-backend = "setuptools.build_meta" + +[tool.mypy] +strict = true +ignore_missing_imports = true diff --git a/uv.lock b/uv.lock new file mode 100644 index 0000000..21015ca --- /dev/null +++ b/uv.lock @@ -0,0 +1,23 @@ +version = 1 +revision = 3 +requires-python = ">=3.13" + +[[package]] +name = "appendfilename" +version = "2025.5.14" +source = { virtual = "." } +dependencies = [ + { name = "pyreadline3" }, +] + +[package.metadata] +requires-dist = [{ name = "pyreadline3", specifier = ">=3.5.4" }] + +[[package]] +name = "pyreadline3" +version = "3.5.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/0f/49/4cea918a08f02817aabae639e3d0ac046fef9f9180518a3ad394e22da148/pyreadline3-3.5.4.tar.gz", hash = "sha256:8d57d53039a1c75adba8e50dd3d992b28143480816187ea5efbd5c78e6c885b7", size = 99839, upload-time = "2024-09-19T02:40:10.062Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5a/dc/491b7661614ab97483abf2056be1deee4dc2490ecbf7bff9ab5cdbac86e1/pyreadline3-3.5.4-py3-none-any.whl", hash = "sha256:eaf8e6cc3c49bcccf145fc6067ba8643d1df34d604a1ec0eccbf7a18e6d3fae6", size = 83178, upload-time = "2024-09-19T02:40:08.598Z" }, +]