Build/distrib things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
Welcome!
|
Welcome!
|
||||||
|
|
||||||
This program will install wxPython 2.4.0.2 for MacPython-OSX 2.3.
|
This program will install wxPython 2.4.0.4 for MacPython-OSX 2.3.
|
||||||
|
|
||||||
Build date: Tue Jan 28 17:04:12 PST 2003
|
Build date: Thu Mar 6 00:08:13 PST 2003
|
||||||
|
@@ -4,13 +4,13 @@
|
|||||||
/usr/local/bin/python -O $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/../compileall.py $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
|
/usr/local/bin/python -O $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/../compileall.py $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
|
||||||
|
|
||||||
# and in the demo
|
# and in the demo
|
||||||
/usr/local/bin/python $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/../compileall.py /Applications/wxPythonOSX-2.4.0.2/demo
|
/usr/local/bin/python $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/../compileall.py /Applications/wxPythonOSX-2.4.0.4/demo
|
||||||
|
|
||||||
# Make the demo/data dir writable
|
# Make the demo/data dir writable
|
||||||
chmod a+w /Applications/wxPythonOSX-2.4.0.2/demo/data
|
chmod a+w /Applications/wxPythonOSX-2.4.0.4/demo/data
|
||||||
|
|
||||||
# and the wxPython pacakge should be group writable
|
# and the wxPython pacakge should be group writable
|
||||||
chmod -R g+w $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
|
chmod -R g+w $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
|
||||||
chmod -R g+w /Applications/wxPythonOSX-2.4.0.2
|
chmod -R g+w /Applications/wxPythonOSX-2.4.0.4
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@@ -354,15 +354,16 @@ def find_DLLs():
|
|||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
locale_template = 'Source: "%s"; DestDir: "{app}\%s"; Components: core'
|
||||||
|
|
||||||
def build_locale_string():
|
def build_locale_string():
|
||||||
template = 'Source: "%s"; DestDir: "{app}\%s"; Components: core'
|
|
||||||
stringlst = []
|
stringlst = []
|
||||||
|
|
||||||
def walk_helper(lst, dirname, files):
|
def walk_helper(lst, dirname, files):
|
||||||
for f in files:
|
for f in files:
|
||||||
filename = os.path.join(dirname, f)
|
filename = os.path.join(dirname, f)
|
||||||
if not os.path.isdir(filename):
|
if not os.path.isdir(filename):
|
||||||
lst.append( template % (filename, dirname) )
|
lst.append( locale_template % (filename, dirname) )
|
||||||
|
|
||||||
os.path.walk('wxPython\\locale', walk_helper, stringlst)
|
os.path.walk('wxPython\\locale', walk_helper, stringlst)
|
||||||
return '\n'.join(stringlst)
|
return '\n'.join(stringlst)
|
||||||
|
@@ -129,6 +129,7 @@ if [ -z "${skipcvs}" ]; then
|
|||||||
if [ -e ${tarver} ]; then
|
if [ -e ${tarver} ]; then
|
||||||
rm -rf ${tarver}
|
rm -rf ${tarver}
|
||||||
fi
|
fi
|
||||||
|
echo cvs -d ${cvsroot} export -r ${cvs_tag} -d ${tarver} wxWindows
|
||||||
cvs -d ${cvsroot} export -r ${cvs_tag} -d ${tarver} wxWindows > /dev/null 2>&1
|
cvs -d ${cvsroot} export -r ${cvs_tag} -d ${tarver} wxWindows > /dev/null 2>&1
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]; then
|
||||||
echo "*** CVS failure, exiting."
|
echo "*** CVS failure, exiting."
|
||||||
|
@@ -5,3 +5,4 @@ import sys, os
|
|||||||
|
|
||||||
sys.path.insert(0, os.curdir)
|
sys.path.insert(0, os.curdir)
|
||||||
main(sys.argv)
|
main(sys.argv)
|
||||||
|
|
||||||
|
@@ -753,6 +753,7 @@ if BUILD_STC:
|
|||||||
msg('Running gen_iface.py, regenerating stc.h and stc.cpp...')
|
msg('Running gen_iface.py, regenerating stc.h and stc.cpp...')
|
||||||
cwd = os.getcwd()
|
cwd = os.getcwd()
|
||||||
os.chdir(opj(CTRB_SRC, 'stc'))
|
os.chdir(opj(CTRB_SRC, 'stc'))
|
||||||
|
sys.path.insert(0, os.curdir)
|
||||||
import gen_iface
|
import gen_iface
|
||||||
gen_iface.main([])
|
gen_iface.main([])
|
||||||
os.chdir(cwd)
|
os.chdir(cwd)
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
aa_wxpicon ICON "wxp.ico"
|
aa_wxpicon ICON "wxp.ico"
|
||||||
#include "wx/msw/wx.rc"
|
#include "wx/msw/wx.rc"
|
||||||
|
|
||||||
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wxc.pyd.manifest"
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user