2017-05-22 16:30:40 +00:00
|
|
|
import sys
|
2014-03-01 03:57:40 +00:00
|
|
|
from setuptools import setup
|
|
|
|
|
2023-11-26 05:33:10 +00:00
|
|
|
VERSION = "0.5.1"
|
2015-03-07 02:20:14 +00:00
|
|
|
|
2017-05-22 16:30:40 +00:00
|
|
|
INSTALL_REQUIRES = (
|
2020-08-05 06:13:52 +00:00
|
|
|
"Pillow",
|
|
|
|
"pikepdf",
|
2017-05-22 16:30:40 +00:00
|
|
|
)
|
|
|
|
|
2015-05-10 12:35:09 +00:00
|
|
|
setup(
|
2020-08-05 06:13:52 +00:00
|
|
|
name="img2pdf",
|
2015-03-07 02:20:14 +00:00
|
|
|
version=VERSION,
|
2021-10-13 07:17:44 +00:00
|
|
|
author="Johannes Schauer Marin Rodrigues",
|
2020-08-05 06:13:52 +00:00
|
|
|
author_email="josch@mister-muffin.de",
|
2015-05-10 12:35:09 +00:00
|
|
|
description="Convert images to PDF via direct JPEG inclusion.",
|
2020-08-05 06:13:52 +00:00
|
|
|
long_description=open("README.md").read(),
|
|
|
|
long_description_content_type="text/markdown",
|
2015-05-10 12:35:09 +00:00
|
|
|
license="LGPL",
|
|
|
|
keywords="jpeg pdf converter",
|
|
|
|
classifiers=[
|
2020-08-05 06:13:52 +00:00
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Intended Audience :: Other Audience",
|
|
|
|
"Environment :: Console",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.5",
|
|
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
2017-05-22 16:30:40 +00:00
|
|
|
"Programming Language :: Python :: Implementation :: PyPy",
|
2020-08-05 06:13:52 +00:00
|
|
|
"License :: OSI Approved :: GNU Lesser General Public License v3 " "(LGPLv3)",
|
|
|
|
"Natural Language :: English",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
],
|
|
|
|
url="https://gitlab.mister-muffin.de/josch/img2pdf",
|
|
|
|
download_url="https://gitlab.mister-muffin.de/josch/img2pdf/repository/"
|
|
|
|
"archive.tar.gz?ref=" + VERSION,
|
2014-03-01 03:57:40 +00:00
|
|
|
package_dir={"": "src"},
|
2020-08-05 06:13:52 +00:00
|
|
|
py_modules=["img2pdf", "jp2"],
|
2015-05-10 12:35:09 +00:00
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=True,
|
2017-05-22 16:30:40 +00:00
|
|
|
install_requires=INSTALL_REQUIRES,
|
2021-04-12 12:13:34 +00:00
|
|
|
extras_require={
|
|
|
|
"gui": ("tkinter"),
|
|
|
|
},
|
2019-08-25 04:03:48 +00:00
|
|
|
entry_points={
|
|
|
|
"setuptools.installation": ["eggsecutable = img2pdf:main"],
|
|
|
|
"console_scripts": ["img2pdf = img2pdf:main"],
|
|
|
|
"gui_scripts": ["img2pdf-gui = img2pdf:gui"],
|
2017-05-22 16:30:40 +00:00
|
|
|
},
|
2020-08-05 06:13:52 +00:00
|
|
|
)
|