forked from nnkps/templado
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
53 lines (50 loc) · 1.72 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
45
46
47
48
49
50
51
52
53
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='templado',
version='0.5.6',
packages=['templado'],
include_package_data=True,
license='BSD License', # example license
description='Templado is a simple Django app to upload your HTML report templates and generate PDF reports by filling the fields of form based on JSON template.',
long_description=README,
url='https://github.com/nnkps/templado',
author='Anna Kups',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7', # dependencies are not compatible with python3
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=[
'Django == 1.7',
'CairoSVG',
'Pyphen',
'WeasyPrint',
'argparse',
'cairocffi',
'cffi',
'cssselect',
'django-bootstrap3',
'html5lib',
'lxml',
'pycparser',
'six',
'tinycss',
'wsgiref',
],
keywords='template json html pdf report invoice',
)