From a37b396a4f7e44f82f04fb73efc7e3cc8dd56690 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 25 Oct 2012 07:00:42 -0400 Subject: [PATCH] setup.py: make libbe._version optional. Thanks to Timmie for pointing this out: From: Timmie 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 from libbe import _version, version ImportError: cannot import name _version ... --- setup.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index bd45d08..a8973de 100755 --- a/setup.py +++ b/setup.py @@ -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 = [] -- 2.26.2