From 9f7445642a528c34e88d34c3f56d26bf492cf2ff Mon Sep 17 00:00:00 2001 From: JiJi Date: Wed, 25 Jan 2023 01:27:03 +0800 Subject: [PATCH] Upgrade to 1.0.2 --- setup.cfg | 9 +++++++-- pdfuck.py => src/pdfuck/__init__.py | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) rename pdfuck.py => src/pdfuck/__init__.py (97%) diff --git a/setup.cfg b/setup.cfg index 9537c97..ddb69aa 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = pdfuck -version = 1.0.1 +version = 1.0.2 author = JiJi description = PDFuck: Remove the password of your PDF file long_description = file: README.md @@ -14,7 +14,12 @@ classifiers = packages = find: install_requires = pikepdf +include_package_data = True [options.entry_points] console_scripts = - pdfuck = pdfuck:main \ No newline at end of file + pdfuck = pdfuck:main + +[options.packages.find] +where=src +include=pdfuck* \ No newline at end of file diff --git a/pdfuck.py b/src/pdfuck/__init__.py similarity index 97% rename from pdfuck.py rename to src/pdfuck/__init__.py index 8ff3105..49ce598 100644 --- a/pdfuck.py +++ b/src/pdfuck/__init__.py @@ -1,4 +1,4 @@ -# pdfuck.py +# PDFuck: pdfuck/__init__.py # Author JiJi # GitHub https://github.com/mmdjiji/pdfuck