From: Kevin A. <ka...@us...> - 2004-08-18 00:54:09
|
Update of /cvsroot/pythoncard/PythonCard/samples/minimalStandalone In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18691/samples/minimalStandalone Modified Files: .cvsignore macbuild.py Log Message: updated bundlebuilder scripts for wxPython 2.5.2 Index: .cvsignore =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/minimalStandalone/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** .cvsignore 17 Apr 2004 07:21:09 -0000 1.2 --- .cvsignore 18 Aug 2004 00:54:00 -0000 1.3 *************** *** 3,4 **** --- 3,6 ---- *.log .DS_Store + build + dist Index: macbuild.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/minimalStandalone/macbuild.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** macbuild.py 24 Jul 2003 20:29:45 -0000 1.1 --- macbuild.py 18 Aug 2004 00:54:00 -0000 1.2 *************** *** 1,6 **** ! import bundlebuilder, os ! # does this have to be an absolute path? ! packageroot = "." myapp = bundlebuilder.AppBuilder(verbosity=1) --- 1,14 ---- ! import bundlebuilder ! import os ! # I set this to make adding subfolders into the package easier ! # KEA 2004-07-22 ! # rather than hard-coding the path ! # we'll just get the path from this module ! ##packageroot = "/Users/kevino/oss/eclass/eclass_builder" ! packageroot = os.path.abspath(os.path.dirname(__file__)) ! # for the purposes of building the standalone ! # change to the directory the build script is in to simplify imports ! os.chdir(packageroot) myapp = bundlebuilder.AppBuilder(verbosity=1) *************** *** 12,18 **** # not using import, so can it just be placed # in the directory of the standalone? ! myapp.libs.append("/usr/local/lib/libwx_macd-2.4.0.dylib") ! myapp.libs.append("/usr/local/lib/libwx_macd-2.4.0.rsrc") myapp.setup() --- 20,28 ---- # not using import, so can it just be placed # in the directory of the standalone? + myapp.resources.append(os.path.join(packageroot, "minimal.rsrc.py")) ! myapp.libs.append("/usr/local/lib/wxPython-2.5.2.7/lib/libwx_macd-2.5.2.dylib") ! myapp.libs.append("/usr/local/lib/wxPython-2.5.2.7/lib/libwx_macd-2.5.2.rsrc") ! myapp.libs.append("/usr/local/lib/wxPython-2.5.2.7/lib/libwx_macd_stc-2.5.2.dylib") myapp.setup() |