-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
55 lines (51 loc) · 1.61 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
54
55
"""
Flask-Redislite
---------------
Using Flask with Redislite
"""
import re
import io
from setuptools import setup
with io.open('README.rst', encoding='utf-8') as f:
description = f.read()
with io.open('HISTORY.rst', encoding='utf-8') as f:
description += "\n\n%s" % f.read()
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('flask_redislite.py', 'rb') as f:
version = str(_version_re.search(f.read().decode('utf-8')).group(1)).replace('\'', '')
setup(
name='Flask-Redislite',
version=version,
url='https://github.com/ViiSiX/FlaskRedislite',
download_url='https://github.com/ViiSiX/FlaskRedislite',
license='MIT',
author='Trong-Nghia Nguyen',
author_email='[email protected]',
maintainer='Trong-Nghia Nguyen',
maintainer_email='[email protected]',
description='Using Flask with Redislite',
long_description=description,
py_modules=['flask_redislite'],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=[
'Flask',
'redislite',
'redis-collections',
'rq'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Database',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)