forked from zhihu/redis-shard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (33 loc) · 993 Bytes
/
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import os
def read_file(*path):
base_dir = os.path.dirname(__file__)
file_path = (base_dir, ) + tuple(path)
return file(os.path.join(*file_path)).read()
setup(
name = "redis-shard",
url = "http://blog.flyzen.com",
license="BSD",
author = "Young King",
author_email = "[email protected]",
description = "Redis Sharding API",
long_description = (
read_file("README.rst") + "\n\n" +
"Change History\n" +
"==============\n\n" +
read_file("CHANGES.rst")),
version = "0.1.2",
packages = ["redis_shard"],
include_package_data = True,
zip_safe=False,
install_requires=['redis',],
classifiers = [
"Programming Language :: Python",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
],
)