forked from jorisschellekens/borb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·38 lines (33 loc) · 1.11 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This module contains the build information for this project
"""
from borb.license.version import Version
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
]
setuptools.setup(
name="borb",
version=Version.get_version(),
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=["borb", "borb.*"]),
include_package_data=True,
install_requires=required,
python_requires=">=3.6",
)