-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (37 loc) · 945 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
40
41
42
43
44
#!/usr/bin/env python
import sys
from setuptools import setup, find_packages
def read_file(name):
"""
Read file content
"""
f = open(name)
try:
return f.read()
except IOError:
print("could not read %r" % name)
f.close()
LONG_DESC = read_file('README.md') + '\n\n' + read_file('HISTORY.md')
EXTRAS = {}
if sys.version_info < (3,):
EXTRAS['use_2to3'] = True
setup(
name='tempiny',
version='1.1',
description='Tiny template engine',
long_description=LONG_DESC,
long_description_content_type='text/markdown',
author='Léo Flaventin Hauchecorne',
author_email='[email protected]',
url='https://github.com/hl037/tempiny',
license='LGPLv2.1+',
packages=find_packages(),
test_suite=None,
include_package_data=True,
zip_safe=False,
install_requires=[],
extras_require=None,
entry_points=None,
classifiers=[],
**EXTRAS
)