forked from Grokzen/redis-py-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (54 loc) · 1.83 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
# -*- 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="1.3.0",
description="Cluster library for redis 3.0.0 built on top of redis-py lib",
long_description=readme + '\n\n' + history,
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>=2.10.2'
],
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.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Environment :: Web Environment',
'Operating System :: POSIX',
)
)