-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
43 lines (35 loc) · 1.42 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
# #!/usr/bin/env python
# -*- coding: utf-8 -*-
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revision 42):
# <[email protected]> wrote this file. As long as you retain
# this notice you can do whatever you want with this stuff. If we meet
# some day, and you think this stuff is worth it, you can buy me a
# beer in return Poul-Henning Kamp
# ----------------------------------------------------------------------------
# Modified to support SASL (binary protocol) by <[email protected]>
# http://redislabs.com
# ----------------------------------------------------------------------------
import os
from setuptools import setup
def get_packages():
# setuptools can't do the job :(
packages = []
for root, dirnames, filenames in os.walk('bmemcachedcli'):
if '__init__.py' in filenames:
packages.append(".".join(os.path.split(root)).strip("."))
return packages
setup(name='bmemcached-cli',
version='0.1.0',
description='memcached command line interface with SASL (binary protocol) support',
author=u'Itamar Haber',
author_email='[email protected]',
url='http://github.com/redislabs/bmemcached-cli',
packages=['bmemcachedcli'],
install_requires=[
"python-binary-memcached",
],
entry_points={
'console_scripts': ['bmemcached-cli = bmemcachedcli.main:main'],
},
)