mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 12:58:07 +01:00
Updated vcsinfo.py generation logic
This commit is contained in:
5
setup.py
5
setup.py
@@ -29,7 +29,11 @@ VERSION_NUM = '1.6.0a1'
|
||||
REVISION_NUM = 'unknown'
|
||||
CURSES_REVNO = 'uimod'
|
||||
|
||||
# change to the directory setup.py is contained in
|
||||
os.chdir(os.path.abspath(__file))
|
||||
|
||||
try:
|
||||
if os.path.exists('.bzr') and os.system('bzr') == 0:
|
||||
try:
|
||||
os.system('bzr version-info --python > vcsinfo.py')
|
||||
except:
|
||||
@@ -40,7 +44,6 @@ except Exception, e:
|
||||
print 'failed to find revision number:'
|
||||
print e
|
||||
|
||||
|
||||
class configure(Command):
|
||||
description = "configure the paths that Wicd will be installed to"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user