mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-13 08:10:08 +01:00
12 lines
329 B
Python
12 lines
329 B
Python
|
|
|
|
# Just a little convenience function that can be used by other build scripts
|
|
# or whatever to get the complete current version number.
|
|
def printVersion():
|
|
from . import config
|
|
oldval = config.runSilently
|
|
config.runSilently = True
|
|
cfg = config.Config(True)
|
|
config.runSilently = oldval
|
|
print(cfg.VERSION)
|