Added a new "wx" package that will dynamically import from the
wxPython package and rename wxFooBar --> FooBar. That means that people imports without "import *" and can use names like wx.Frame instead of wx.wxFrame. This is phase 1 of a full transition to the new namespace. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -18,6 +18,13 @@ Made the version number information more robust and uh, informative.
|
|||||||
Also added asserts to check that the major.minor versions of wxPython
|
Also added asserts to check that the major.minor versions of wxPython
|
||||||
and wxWindows match.
|
and wxWindows match.
|
||||||
|
|
||||||
|
Added the new wx "renamer" package that will dynamically import from
|
||||||
|
the wxPython package and rename wxFooBar --> FooBar. That means that
|
||||||
|
people can do imports without "import *" and can use names like
|
||||||
|
wx.Frame instead of wx.wxFrame. This is phase 1 of a full transition
|
||||||
|
to the new namespace.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
2.4.0.7
|
2.4.0.7
|
||||||
|
@@ -828,15 +828,19 @@ if BUILD_STC:
|
|||||||
'%s/scintilla/src/UniConversion.cxx' % STCLOC,
|
'%s/scintilla/src/UniConversion.cxx' % STCLOC,
|
||||||
'%s/scintilla/src/ViewStyle.cxx' % STCLOC,
|
'%s/scintilla/src/ViewStyle.cxx' % STCLOC,
|
||||||
'%s/scintilla/src/WindowAccessor.cxx' % STCLOC,
|
'%s/scintilla/src/WindowAccessor.cxx' % STCLOC,
|
||||||
|
'%s/scintilla/src/XPM.cxx' % STCLOC,
|
||||||
|
|
||||||
'%s/scintilla/src/LexAda.cxx' % STCLOC,
|
'%s/scintilla/src/LexAda.cxx' % STCLOC,
|
||||||
|
'%s/scintilla/src/LexAsm.cxx' % STCLOC,
|
||||||
'%s/scintilla/src/LexAVE.cxx' % STCLOC,
|
'%s/scintilla/src/LexAVE.cxx' % STCLOC,
|
||||||
'%s/scintilla/src/LexBaan.cxx' % STCLOC,
|
'%s/scintilla/src/LexBaan.cxx' % STCLOC,
|
||||||
'%s/scintilla/src/LexBullant.cxx' % STCLOC,
|
'%s/scintilla/src/LexBullant.cxx' % STCLOC,
|
||||||
'%s/scintilla/src/LexCPP.cxx' % STCLOC,
|
'%s/scintilla/src/LexCPP.cxx' % STCLOC,
|
||||||
'%s/scintilla/src/LexConf.cxx' % STCLOC,
|
'%s/scintilla/src/LexConf.cxx' % STCLOC,
|
||||||
'%s/scintilla/src/LexCrontab.cxx' % STCLOC,
|
'%s/scintilla/src/LexCrontab.cxx' % STCLOC,
|
||||||
|
'%s/scintilla/src/LexCSS.cxx' % STCLOC,
|
||||||
'%s/scintilla/src/LexEiffel.cxx' % STCLOC,
|
'%s/scintilla/src/LexEiffel.cxx' % STCLOC,
|
||||||
|
'%s/scintilla/src/LexFortran.cxx' % STCLOC,
|
||||||
'%s/scintilla/src/LexHTML.cxx' % STCLOC,
|
'%s/scintilla/src/LexHTML.cxx' % STCLOC,
|
||||||
'%s/scintilla/src/LexLisp.cxx' % STCLOC,
|
'%s/scintilla/src/LexLisp.cxx' % STCLOC,
|
||||||
'%s/scintilla/src/LexLua.cxx' % STCLOC,
|
'%s/scintilla/src/LexLua.cxx' % STCLOC,
|
||||||
@@ -1204,6 +1208,8 @@ DATA_FILES.append( ('wxPython/lib/PyCrust', glob.glob('wxPython/lib/PyCrust/*.tx
|
|||||||
glob.glob('wxPython/lib/PyCrust/*.ico')))
|
glob.glob('wxPython/lib/PyCrust/*.ico')))
|
||||||
|
|
||||||
|
|
||||||
|
# TODO: get datafiles under the new wx pacakge
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
# Do the Setup/Build/Install/Whatever
|
# Do the Setup/Build/Install/Whatever
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
@@ -1228,6 +1234,19 @@ if __name__ == "__main__":
|
|||||||
PKGDIR+'.lib.PyCrust.wxd',
|
PKGDIR+'.lib.PyCrust.wxd',
|
||||||
PKGDIR+'.tools',
|
PKGDIR+'.tools',
|
||||||
PKGDIR+'.tools.XRCed',
|
PKGDIR+'.tools.XRCed',
|
||||||
|
|
||||||
|
'wx',
|
||||||
|
'wx.examples',
|
||||||
|
'wx.examples.basic',
|
||||||
|
'wx.examples.hello',
|
||||||
|
'wx.lib',
|
||||||
|
'wx.lib.PyCrust',
|
||||||
|
#'wx.lib.PyCrust.wxd', ???
|
||||||
|
'wx.lib.colourchooser',
|
||||||
|
'wx.lib.editor',
|
||||||
|
'wx.lib.mixins',
|
||||||
|
#'wx.tools', ???
|
||||||
|
#'wx.tools.XRCed', ???
|
||||||
],
|
],
|
||||||
|
|
||||||
ext_package = PKGDIR,
|
ext_package = PKGDIR,
|
||||||
|
Reference in New Issue
Block a user