-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (46 loc) · 1.82 KB
/
setup.py
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
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='pdfhandoutcrop',
version='0.99.3',
description='A tool to crop pdf handout with multiple pages per sheet',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://cges30901.github.io/pdfhandoutcrop/',
download_url='https://cges30901.github.io/pdfhandoutcrop/download.html',
author='Hsiu-Ming Chang',
author_email='[email protected]',
license='GPLv3+',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Education',
'Intended Audience :: End Users/Desktop',
'Topic :: Education',
'Topic :: Office/Business',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
'Natural Language :: English',
'Natural Language :: Chinese (Traditional)',
],
keywords='pdf crop',
project_urls={
'Bug Reports': 'https://github.com/cges30901/pdfhandoutcrop/issues',
'Source': 'https://github.com/cges30901/pdfhandoutcrop/',
'Donate': 'https://cges30901.github.io/pdfhandoutcrop/donate.html',
},
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=['PyQt6', 'PyMuPDF'],
python_requires='>=3',
scripts=['scripts/pdfhandoutcrop'],
package_data={
'pdfhandoutcrop': ['pdfhandoutcrop.png', 'language/*.ts', 'language/*.qm'],
},
)