chore: Switch to uv packaging and hatch backend

Switching this project over to the uv package manager as a pilot project
for my personal use.
Since this project is not yet widely used I can use it as an
experimental playground for discovering uv further without interrupting
anybody's workflow.
This commit is contained in:
Marty Oehme 2024-11-15 11:28:50 +01:00
parent 779519f580
commit 103c2ea2fc
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
5 changed files with 819 additions and 1186 deletions

View file

@ -1,4 +1,5 @@
import re
import click
import papis.cli
import papis.config
@ -159,5 +160,7 @@ def run(
if valid_files == 0:
# have to remove curlys or papis logger gets upset
desc = re.sub("[{}]", "", papis.document.describe(doc))
logger.info(f"Document {desc} has no valid extractors for any of its files.")
logger.info(
f"Document {desc} has no valid extractors for any of its files."
)
exporter.run(doc_annots)