-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
39 lines (35 loc) · 1.22 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
"""
Flask-Inflate
-------------
A simple flask extension to deal with gzipped (compressed) request data sent by clients.
"""
from setuptools import setup
def parse_requirements(filename):
""" load requirements from a pip requirements file """
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
setup(
name='Flask-Inflate',
version='0.3',
url='https://github.com/ronlut/flask-inflate',
license='MIT',
author='Rony Lutsky',
author_email='[email protected]',
description='Inflate / Decompress gzipped requests',
long_description=__doc__,
py_modules=['flask_inflate'],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=parse_requirements('requirements.txt'),
classifiers=[
'Framework :: Flask',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)