Details
Description
> Steps to reproduce:
pip install couchbase
> Expected output:
Downloading/unpacking couchbase
Downloading couchbase-0.7.0.tar.gz
Running setup.py egg_info for package couchbase
> Actual output:
Downloading/unpacking couchbase
Downloading couchbase-0.7.0.tar.gz
Running setup.py egg_info for package couchbase
fatal: Not a git repository (or any of the parent directories): .git
> Tip:
def get_version():
try:
p = subprocess.Popen('git describe', stdout=subprocess.PIPE,
shell=True)
version = p.communicate()[0].strip()
except:
version = ''
return version