forked from josch/img2pdf
251238b410
- now Python3 only - pep8 compliant code - update my email to josch@mister-muffin.de - move from github to gitlab.mister-muffin.de/josch/img2pdf - use logging module - add extensive test suite - ability to read from standard input - pdf writer: - make more compatible with the interface of pdfrw module - print floats which equal to their integer conversion as integer - do not print trailing zeroes for floating point numbers - print more linebreaks - add binary string at beginning of PDF to indicate that the PDF contains binary data - handle datetime and unicode strings by using utf-16-be encoding - new options (see --help for more details): - --without-pdfrw - --imgsize - --border - --fit - --auto-orient - --viewer-panes - --viewer-initial-page - --viewer-magnification - --viewer-page-layout - --viewer-fit-window - --viewer-center-window - --viewer-fullscreen - remove short command line options for metadata arguments
42 lines
1.4 KiB
Python
42 lines
1.4 KiB
Python
from setuptools import setup
|
|
|
|
VERSION = "0.2"
|
|
|
|
setup(
|
|
name='img2pdf',
|
|
version=VERSION,
|
|
author="Johannes 'josch' Schauer",
|
|
author_email='josch@mister-muffin.de',
|
|
description="Convert images to PDF via direct JPEG inclusion.",
|
|
long_description=open('README.md').read(),
|
|
license="LGPL",
|
|
keywords="jpeg pdf converter",
|
|
classifiers=[
|
|
'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.4',
|
|
'Programming Language :: Python :: Implementation :: CPython',
|
|
'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,
|
|
package_dir={"": "src"},
|
|
py_modules=['img2pdf', 'jp2'],
|
|
include_package_data=True,
|
|
test_suite='tests.test_suite',
|
|
zip_safe=True,
|
|
install_requires=(
|
|
'Pillow',
|
|
),
|
|
entry_points='''
|
|
[console_scripts]
|
|
img2pdf = img2pdf:main
|
|
''',
|
|
)
|