forked from ahopkins/sanic-session
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (47 loc) · 1.75 KB
/
setup.py
File metadata and controls
52 lines (47 loc) · 1.75 KB
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
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
# Set requirements here
requirements = ('sanic', 'ujson')
extras_require = {
'aioredis': ['aioredis>=1.0.0'],
'redis': ['asyncio_redis'],
'mongo': ['sanic_motor', 'pymongo'],
'aiomcache': ['aiomcache>=0.5.2'],
}
setup(
name='sanic_session',
version='0.4.1',
description=(
'Provides server-backed sessions for Sanic '
'using Redis, Memcache and more.'
),
long_description=long_description,
long_description_content_type="text/markdown",
url='http://github.com/subyraman/sanic_session',
author='Suby Raman, Mikhail Kashkin',
author_email='m@xen.ru',
license='MIT',
packages=['sanic_session'],
# Kludge: Specifying requirements for setup and install works around
# problem with easyinstall finding sanic_motor instead of sanic.
# See similar problem:
# https://stackoverflow.com/questions/27497470/setuptools-finds-wrong-package-during-install
# https://github.com/numpy/numpy/issues/2434
setup_requires=requirements,
install_requires=requirements,
zip_safe=False,
keywords=['sessions', 'sanic', 'redis', 'memcache'],
classifiers=[
'Framework :: AsyncIO',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP :: Session',
]
)