This repository has been archived by the owner on Jan 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 315
/
setup.py
68 lines (63 loc) · 2.15 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
61
62
63
64
65
66
67
68
# -*- coding: utf-8 -*-
# python std lib
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# if you are using vagrant, just delete os.link directly,
# The hard link only saves a little disk space, so you should not care
if os.getenv('USER', '').lower() == 'vagrant':
del os.link
with open('README.md') as f:
readme = f.read()
with open(os.path.join('docs', 'release-notes.rst')) as f:
history = f.read()
setup(
name="redis-py-cluster",
version="2.1.3",
description="Library for communicating with Redis Clusters. Built on top of redis-py lib",
long_description=readme + '\n\n' + history,
long_description_content_type="text/markdown",
author="Johan Andersson",
author_email="[email protected]",
maintainer='Johan Andersson',
maintainer_email='[email protected]',
packages=["rediscluster"],
url='http://github.com/grokzen/redis-py-cluster',
license='MIT',
install_requires=[
'redis>=3.0.0,<4.0.0'
],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4",
extras_require={
'hiredis': [
"hiredis>=0.1.3",
],
},
keywords=[
'redis',
'redis cluster',
],
classifiers=[
# As from https://pypi.python.org/pypi?%3Aaction=list_classifiers
# 'Development Status :: 1 - Planning',
# 'Development Status :: 2 - Pre-Alpha',
# 'Development Status :: 3 - Alpha',
# 'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
# 'Development Status :: 6 - Mature',
# 'Development Status :: 7 - Inactive',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Environment :: Web Environment',
'Operating System :: POSIX',
'License :: OSI Approved :: MIT License',
]
)