forked from jorisschellekens/borb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (38 loc) · 1.35 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This module contains the build information for this project
"""
import sys
import setuptools
# open readme
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# requirements
required = [
"fonttools>=4.22.1", # TTF fonts
"Pillow>=7.1.0", # image processing
"python-barcode>=0.13.1", # generating barcodes
"qrcode[pil]>=6.1", # generating QR codes
"requests>=2.24.0", # generating images from a URL
"setuptools>=51.1.1", # standard
]
dependency_links = [
"http://github.com/ojii/pymaging/tarball/master",
"http://github.com/ojii/pymaging-png/tarball/master",
]
setuptools.setup(
name="borb",
version="2.0.22.2",
author="Joris Schellekens",
author_email="[email protected]",
description="borb is a library for reading, creating and manipulating PDF files in python.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/jorisschellekens/borb",
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=required,
dependency_links=dependency_links,
python_requires=">=3.6",
)