mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
Use "snapshot" instead of the revision text, that's already in the version number.
Also, spell out "development"
This commit is contained in:
@@ -337,16 +337,13 @@ class Configuration(object):
|
||||
# is a release build. (In theory)
|
||||
if os.path.exists('REV.txt'):
|
||||
f = open('REV.txt')
|
||||
txt = f.read().strip()
|
||||
self.VER_FLAGS += txt
|
||||
if txt[0] == '.':
|
||||
txt = txt[1:]
|
||||
self.BUILD_TYPE = txt
|
||||
self.VER_FLAGS += f.read().strip()
|
||||
self.BUILD_TYPE = 'snapshot'
|
||||
f.close()
|
||||
elif os.environ.get('WXPYTHON_RELEASE') == 'yes':
|
||||
self.BUILD_TYPE = "release"
|
||||
self.BUILD_TYPE = 'release'
|
||||
else:
|
||||
self.BUILD_TYPE = "devel"
|
||||
self.BUILD_TYPE = 'development'
|
||||
|
||||
self.VERSION = "%s.%s.%s%s" % (self.VER_MAJOR,
|
||||
self.VER_MINOR,
|
||||
|
||||
Reference in New Issue
Block a user