Flatten structure, remove src directory, fix packaging

This commit is contained in:
Stu Leak 2025-11-04 05:01:22 -05:00
parent 4ae040d00e
commit e2c1cf1921
7 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Maintainer: Stu Leak <leaktechnologies@proton.me> # Maintainer: Stu Leak <leaktechnologies@proton.me>
pkgname=img2pdf pkgname=img2pdf
pkgver=1.0.2 pkgver=1.0.3
pkgrel=1 pkgrel=1
pkgdesc="Convert a single image or a folder of images to a PDF (sorted by filename)." pkgdesc="Convert a single image or a folder of images to a PDF (sorted by filename)."
arch=('any') arch=('any')

0
core/__init__.py Normal file
View File

0
core/__main__.py Normal file
View File

0
core/config.py Normal file
View File

0
core/converter.py Normal file
View File

0
core/utils.py Normal file
View File

View File

@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "img2pdf" name = "img2pdf"
version = "1.0.2" version = "1.0.3"
description = "Convert a single image or folder of images into a PDF (sorted by filename)." description = "Convert a single image or folder of images into a PDF file (sorted by filename)."
readme = "README.md" readme = "README.md"
requires-python = ">=3.8" requires-python = ">=3.8"
license = "MIT" license = "MIT"
@ -20,5 +20,4 @@ Issues = "https://git.leaktechnologies.dev/stu/img2pdf/issues"
img2pdf = "core.__main__:main" img2pdf = "core.__main__:main"
[tool.setuptools] [tool.setuptools]
package-dir = {"" = "src"}
packages = ["core"] packages = ["core"]