-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.py
28 lines (24 loc) · 951 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
"""Setup.py."""
import ast
import re
from setuptools import setup
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('./pdf_text_overlay/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name='pdf_text_overlay',
packages=['pdf_text_overlay'], # name of the package
version=version,
description='Python library to write text on top of PDF',
author='Shridhar Patil',
author_email='[email protected]',
url='https://github.com/shridarpatil/pdf_writer', # URL to the github repo
download_url='https://github.com/shridarpatil/pdf_writer/archive/%s.tar.gz' % version, # noqa
keywords=['pdf writer', 'Pdf Editor'], # arbitrary keywords
classifiers=[],
install_requires=['pyPdf', 'reportlab'],
test_suite='tests',
tests_require=['pytest', 'flake8', 'mock'],
setup_requires=['pytest-runner']
)