-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
39 lines (29 loc) · 829 Bytes
/
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
# -*- coding: utf-8 -*-
"""setup.py: setuptools control."""
import re
from setuptools import setup
version = re.search(
'^__version__\s*=\s*"(.*)"',
open('fspdf/fspdf.py').read(),
re.M
).group(1)
with open("README.md", "r") as f:
readme = f.read()
rx = re.compile('^## Description\n([^#]+)', re.MULTILINE)
long_descr = rx.search(readme).group(1).strip()
setup(
name="fspdf",
packages=["fspdf"],
entry_points={
"console_scripts": ['fspdf = fspdf.fspdf:main']
},
version=version,
install_requires=['Pillow'],
description="Fill and sign any PDF.",
long_description=long_descr,
license="MIT",
keywords="PDF forms fill sign annotate",
author="Kai Eckert",
author_email="[email protected]",
url="https://github.com/kaiec/fspdf/",
)