-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
50 lines (44 loc) · 1.17 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
"""Setup for Flask Extras."""
from setuptools import setup
requirements = [
'Flask-WTF==0.13',
'Flask==0.10.1',
'python-dateutil',
'netaddr',
]
def readme():
"""Grab the long README file."""
try:
with open('README.md', 'r') as fobj:
return fobj.read()
except IOError:
try:
with open('README.rst', 'r') as fobj:
return fobj.read()
except IOError:
return __doc__
setup(
name='flask_extras',
version='4.0.4',
description=('Assorted useful flask views, blueprints, '
'Jinja2 template filters, and templates/macros'),
long_description=readme(),
author='Chris Tabor',
author_email='[email protected]',
url='https://github.com/christabor/flask_extras',
license='MIT',
classifiers=[
'Topic :: Software Development',
'Programming Language :: Python :: 2.7',
],
install_requires=requirements,
package_dir={'flask_extras': 'flask_extras'},
packages=['flask_extras'],
package_data={
'flask_extras': [
'macros/*.html',
],
},
zip_safe=False,
include_package_data=True,
)