fix: repair search, notes, clean, move, import and write, speed up indexing, migrate packaging to pyproject and uv

This commit is contained in:
randogoth 2026-10-24 21:06:34 +03:00
parent 85d93e3dae
commit f04554a52c
27 changed files with 1147 additions and 1852 deletions

45
pyproject.toml Normal file
View file

@ -0,0 +1,45 @@
#// +orvanitag @orga #tagging #python
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "orvanitag"
version = "1.1.0"
description = "Platform independent, file-based, portable tagging system to organize directories and files."
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "randogoth", email = "randogoth@posteo.org" }]
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"PyYAML>=6.0",
"rich>=13.4.2",
]
[project.optional-dependencies]
audio = ["pytaglib>=2.0.0"]
pdf = ["pypdf>=4.0"]
office = ["olefile>=0.46"]
markdown = ["python-frontmatter>=1.0"]
all = ["orvanitag[audio,pdf,office,markdown]"]
[project.urls]
Homepage = "https://github.com/randogoth/orvanitag"
[project.scripts]
otag = "orvanitag.cmd:main"
[tool.setuptools.packages.find]
include = ["orvanitag*"]
[dependency-groups]
dev = [
"pytest>=8",
"orvanitag[pdf,office,markdown]",
]