mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 04:50:07 +01:00
Generate demo/version.py in the build script.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
6
wscript
6
wscript
@@ -406,6 +406,12 @@ def build(bld):
|
||||
"SUBRELEASE_NUMBER = %(VER_SUBREL)s\n\n"
|
||||
"VERSION = (MAJOR_VERSION, MINOR_VERSION, RELEASE_NUMBER, SUBRELEASE_NUMBER, '%(VER_FLAGS)s')\n"
|
||||
% cfg.__dict__)
|
||||
# and one for the demo folder too
|
||||
open('demo/version.py', 'w').write(
|
||||
"# This file was generated by Phoenix's wscript.\n\n"
|
||||
"VERSION_STRING = '%(VERSION)s'\n"
|
||||
% cfg.__dict__)
|
||||
|
||||
|
||||
# copy the wx locale message catalogs to the package dir
|
||||
if isWindows or isDarwin:
|
||||
|
||||
Reference in New Issue
Block a user