Files
kapitanbooru-uploader/pyproject.toml
Kapitan 67df3ea793
All checks were successful
Gitea/kapitanbooru-uploader/pipeline/head This commit looks good
Update Kapitanbooru Uploader to version 0.9.0 with significant changes
- Updated version number in pyproject.toml and messages.po files.
- Added new translations and updated existing ones in messages.po for better localization.
- Implemented core functionality in Core.py, including image processing, tagging, and upload logic.
- Enhanced the autotagging feature to support multiple image formats (PNG, JPEG, WebP, AVIF, GIF).
- Improved error handling and logging for file operations and network requests.
- Added functionality to check for uploaded files and manage tag updates for existing posts.
- Introduced threading for background processing to improve application responsiveness.
2025-06-26 17:22:34 +02:00

37 lines
928 B
TOML

[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "kapitanbooru-uploader"
version = "0.9.0"
description = "A GUI application for uploading images to KapitanBooru"
authors = [{ name = "Michał Leśniak", email = "kapitan@mlesniak.pl" }]
dependencies = [
"networkx==3.4.2",
"Pillow==11.1.0",
"pywin32==309",
"requests==2.32.3",
"wdtagger==0.14.0",
"bs4==0.0.2",
"tomli==2.2.1",
]
requires-python = ">=3.13"
readme = "README.md"
license = "MIT"
[project.optional-dependencies]
cuda12-nightly = [
"wdtagger[cuda12-nightly]==0.14.0",
] # Pulls from private PyPI (auto-configured via env)
[project.scripts]
kapitanbooru-uploader = "kapitanbooru_uploader.__main__:main"
[tool.setuptools]
packages = ["kapitanbooru_uploader"]
include-package-data = true
[tool.setuptools.package-data]
"kapitanbooru_uploader" = ["locales/*/LC_MESSAGES/*.mo"]