From e2c1cf19213d7bfdf83cb1e186a2f9a75728fa87 Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Tue, 4 Nov 2025 05:01:22 -0500 Subject: [PATCH] Flatten structure, remove src directory, fix packaging --- PKGBUILD | 2 +- core/__init__.py | 0 core/__main__.py | 0 core/config.py | 0 core/converter.py | 0 core/utils.py | 0 pyproject.toml | 5 ++--- 7 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 core/__init__.py create mode 100644 core/__main__.py create mode 100644 core/config.py create mode 100644 core/converter.py create mode 100644 core/utils.py diff --git a/PKGBUILD b/PKGBUILD index 0512ed9..4d8ba39 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Stu Leak pkgname=img2pdf -pkgver=1.0.2 +pkgver=1.0.3 pkgrel=1 pkgdesc="Convert a single image or a folder of images to a PDF (sorted by filename)." arch=('any') diff --git a/core/__init__.py b/core/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/core/__main__.py b/core/__main__.py new file mode 100644 index 0000000..e69de29 diff --git a/core/config.py b/core/config.py new file mode 100644 index 0000000..e69de29 diff --git a/core/converter.py b/core/converter.py new file mode 100644 index 0000000..e69de29 diff --git a/core/utils.py b/core/utils.py new file mode 100644 index 0000000..e69de29 diff --git a/pyproject.toml b/pyproject.toml index 5655c09..fc1c055 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta" [project] name = "img2pdf" -version = "1.0.2" -description = "Convert a single image or folder of images into a PDF (sorted by filename)." +version = "1.0.3" +description = "Convert a single image or folder of images into a PDF file (sorted by filename)." readme = "README.md" requires-python = ">=3.8" license = "MIT" @@ -20,5 +20,4 @@ Issues = "https://git.leaktechnologies.dev/stu/img2pdf/issues" img2pdf = "core.__main__:main" [tool.setuptools] -package-dir = {"" = "src"} packages = ["core"]