-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (49 loc) · 1.77 KB
/
setup.py
File metadata and controls
51 lines (49 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
from setuptools import setup, find_packages
import os
from version import VERSION
# Read the contents of your README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name="p2i",
version=VERSION,
description="PDF & Image Processing Tool",
long_description=long_description,
long_description_content_type="text/markdown",
author="Naveen Vasudevan",
author_email="naveenovan@gmail.com",
url="https://github.com/kuroonai/p2i", # Replace with your actual repository URL
packages=find_packages(),
include_package_data=True,
python_requires='>=3.9', # Specify minimum Python version
install_requires=[
"Pillow>=9.0.0",
"pypdfium2>=3.3.0",
"reportlab>=3.6.0",
"PyPDF2>=2.0.0",
"tkinterdnd2>=0.3.0",
],
entry_points={
"console_scripts": ["p2i=main:main"],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Multimedia :: Graphics :: Editors",
"Topic :: Office/Business",
],
keywords="pdf, image, conversion, processing, resize, watermark, metadata, compress, merge, split",
license="MIT",
project_urls={
"Bug Reports": "https://github.com/kuroonai/p2i/issues",
"Source": "https://github.com/kuroonai/p2i",
},
)