-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (39 loc) · 1.23 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
from setuptools import setup, find_packages
import os
# def read_requirements():
# cwd = os.getcwd()
# path = os.path.join(cwd, 'requirements.txt')
# with open(path) as req:
# content = req.read()
# requirements = content.split('\n')
# return requirements
# requirements = read_requirements()
setup(
name='img-to-pdf',
version='1.0.2',
packages=find_packages(),
entry_points={
'console_scripts': [
'makePDF=src.main:main',
],
},
author='Christopher Bannon',
author_email='cbannon@berkeley.edu',
description='Simple CLI tool to convert images in a directory to a PDF',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
url='https://github.com/Cbannon35/makePDF',
# install_requires=open('requirements.txt').read().splitlines(),
#ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel -- no such file :(
install_requires=[
"img2pdf==0.5.1",
"Pillow==10.2.0",
"pillow_heif==0.15.0",
"PyPDF2==3.0.1",
"setuptools==58.0.4",
"tqdm==4.62.3"
],
license='MIT',
username="__token__",
keywords='PDF, image, convert',
)