diff options
author | W. Trevor King <wking@tremily.us> | 2012-10-25 07:00:42 -0400 |
---|---|---|
committer | W. Trevor King <wking@tremily.us> | 2012-10-25 07:05:37 -0400 |
commit | a37b396a4f7e44f82f04fb73efc7e3cc8dd56690 (patch) | |
tree | 495c40db669834eaeffce4a8f74c3874ba1212b4 | |
parent | 2b233348db8cfbf19c537679db0dcaaeb958d7b2 (diff) | |
download | bugseverywhere-a37b396a4f7e44f82f04fb73efc7e3cc8dd56690.tar.gz |
setup.py: make libbe._version optional.
Thanks to Timmie for pointing this out:
From: Timmie <timmichelsen@gmx-topmail.de>
Date: Thu, 25 Oct 2012 09:42:23 +0000 (UTC)
Subject: Re: [Be-devel] NotImplementedError with Bazaar
...
I notices the following glichtes during the install:
D:\be-be-master\be-be>python setup.py install
WARNING:root:unable to import libbe._version: No module named _version
Traceback (most recent call last):
File "setup.py", line 6, in <module>
from libbe import _version, version
ImportError: cannot import name _version
...
-rwxr-xr-x | setup.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -3,10 +3,11 @@ from distutils.core import setup import os.path -from libbe import _version, version +from libbe import version -rev_id = _version.version_info["revision"] -rev_date = _version.version_info["date"] + +rev_id = version.version_info['revision'] +rev_date = version.version_info['date'] data_files = [] |