1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 20:38:00 +01:00

vcsinfo.py is regenerated when setup.py is run

This commit is contained in:
Adam Blackburn
2009-04-12 14:48:52 +08:00
parent 0a35f0989d
commit 0c7c4e86dd

View File

@@ -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: