vcsinfo.py is regenerated when setup.py is run
This commit is contained in:
1 parent
0a35f0989d
commit
0c7c4e86dd
1 file changed
+4
-5
@@ -30,11 +30,10 @@ REVISION_NUM = 'unknown'
|
|||||||
CURSES_REVNO = 'uimod'
|
CURSES_REVNO = 'uimod'
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if not os.path.exists('vcsinfo.py'):
|
try:
|
||||||
try:
|
os.system('bzr version-info --python > vcsinfo.py')
|
||||||
os.system('bzr version-info --python > vcsinfo.py')
|
except:
|
||||||
except:
|
pass
|
||||||
pass
|
|
||||||
import vcsinfo
|
import vcsinfo
|
||||||
REVISION_NUM = vcsinfo.version_info['revno']
|
REVISION_NUM = vcsinfo.version_info['revno']
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
|
|||||||
Reference in new issue
Block a user