forked from aio-libs/aiocache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (54 loc) · 1.62 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
56
57
58
59
60
import re
import os
from setuptools import setup, find_packages
with open(
os.path.join(
os.path.abspath(os.path.dirname(__file__)),
'aiocache/_version.py')) as fp:
try:
version = re.findall(
r"^__version__ = \"([^']+)\"\r?$", fp.read(), re.M)[0]
except IndexError:
raise RuntimeError('Unable to determine version.')
with open('README.rst', 'rt', encoding='utf8') as f:
readme = f.read()
setup(
name='aiocache',
version=version,
author='Manuel Miranda',
url='https://github.com/argaen/aiocache',
author_email='[email protected]',
description='multi backend asyncio cache',
long_description=readme,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Framework :: AsyncIO',
],
packages=find_packages(),
install_requires=None,
extras_require={
'redis:python_version<"3.7"': ['aioredis>=0.3.3'],
'redis:python_version>="3.7"': ['aioredis>=1.0.0'],
'memcached': ['aiomcache>=0.5.2'],
'msgpack': ['msgpack>=0.5.5'],
'dev': [
'asynctest>=0.11.0',
'black;python_version>="3.6"',
'codecov',
'coverage',
'flake8',
'ipdb',
'marshmallow>=3',
'pystache',
'pytest',
'pytest-asyncio',
'pytest-mock',
'sphinx',
'sphinx-autobuild',
'sphinx-rtd-theme',
]
}
)