forked from couchbase/couchbase-python-client
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
35 lines (32 loc) · 1.14 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
from distutils.core import setup
import subprocess
def get_version():
try:
p = subprocess.Popen('git describe', stdout=subprocess.PIPE, shell=True)
version = p.communicate()[0].strip()
except:
version = ''
return version
setup(
name = "couchbase-python",
version = get_version(),
description = "Couchbase Python SDK",
author = "Couchbase Inc",
author_email = "info@couchbase.com",
packages = ["couchbase", "couchbase/httplib2", "couchbase/utils", "couchbase/migrator"],
url = "http://couchbase.org/",
download_url = "http://.../pysdk.tar.gz",
license = "LICENSE.txt",
keywords = ["encoding", "i18n", "xml"],
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
],
long_description = open('README.txt').read(),
)