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:
9
setup.py
9
setup.py
@@ -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