[Pythonmac-SIG] Compiling wxPython for CFM (OS 9 support)

Kevin Ollivier guess-who@kevin-masako.com
Sat, 9 Nov 2002 05:36:27 -0800


--Apple-Mail-37-559729229
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Hi all,

I've been trying to build the wxPython libraries for MacPython 2.2.2 
(CFM) using CodeWarrior 7 and MacPython 2.2.2. I built wxMac Carbon 
shlb without problems and am now trying to build the wxPython shared 
libraries. MacPython created and loaded the wxc shared library project, 
but when I try to build I am getting "undefined identifier" errors in 
src/mac/cmndlgs.cpp for 'wxFindReplaceDialog', 'wxFindDialogEvent' and 
'wxFindReplaceData' which all exist in include/wx/fdrepdlg.h. The 
source file src/mac/printfw.cpp also gives undefined identifier errors 
for wxPostScriptDC. (gridc compiles, but spits out nearly 50 link 
errors) I've tried compiling both from the wxPythonSrc-2.3.3.1 package 
that Robin has available at wxpython.org as well as from the wxWindows 
CVS and both are giving me the same results.

Here is what I have done to get this far:

1. After building wx_Carbon_d.shlb, I modified wxPython/setup.py to 
give it a Mac section separate from the 'darwin' OS X section it has 
now. I set up the include and library directories as well as defines. 
(I have attached the latest version with this message. the "os.name == 
'mac'" section is where the new defines are.) I added in the 
wx_Carbon.rsrc file as well, although I'm not sure if that was 
necessary or not.

2. I downloaded GUSI2 for MacPython and the source for MacPython. I got 
these from Jack's MacPython site. 
(http://www.cwi.nl/~jack/macpython.html) I then put them inside 
Applications/MacPython 2.2.2 which is where distutils seems to want 
them.

3. I added a MacPython type and creator to wxPython/setup.py and then 
ran setup.py. distutils starts and creates CW projects for gridc and 
wxc. I had to manually modify the project files though... CW strangely 
does not seem to be interpreting the "::" path properly - it reads it 
as a single ":". So to get GUSI2 to show up I had to include it in the 
same directory as the Python interpreter (Applications/MacPython 
2.2.2/), not a directory above it. I then had to turn off the "include 
subfolders" option for "Apps:MacPython 2.2.2" in the User Paths to keep 
sys/time.h from being recursively included. I also had to hard-code the 
path to WXDIR in setup.py because using "::" resulted in "directory not 
found" errors. Of course, this could simply be that I am not very 
familiar with OS 9 style paths, but I thought "::" specified the 
previous directory.

4. Now it starts compiling, but I get errors about "strdup" in 
includes/wx/buffer.h. Seems this is a problem with CodeWarrior not 
including strdup in string.h and can be fixed by adding #include 
<extras.h>.

5. Once I've done this, I get the results mentioned above. wxc gives 
errors for cmndlgs.cpp and gridc gives link errors (for many of, if not 
all, the functions).

I'm pretty sure that I'm doing something wrong here, but I think I need 
another pair of eyes to see what it is! If someone could take a look at 
this I would really appreciate it. I updated to CW 7.2 this morning but 
did not see any change in behavior.

Thanks,

Kevin


--Apple-Mail-37-559729229
Content-Disposition: attachment
Content-Type: multipart/appledouble;
	boundary=Apple-Mail-38-559729230


--Apple-Mail-38-559729230
Content-Disposition: attachment;
	filename=setup.py
Content-Transfer-Encoding: base64
Content-Type: application/applefile;
	name="setup.py"

AAUWBwACAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAJAAAAPgAAAAoAAAADAAAASAAAAAgAAAACAAAA
UAAAAhxURVhUUHl0aAAAc2V0dXAucHkAAAEAAAAB2gAAANoAAABCAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1ntz
CwAAAHJ1bl9hc19tYWluaQAAAABzCQAAAHNlbGVjdGlvbigCAAAAaTIsAABpMiwAAHMHAAAAdGFi
c2l6ZSgCAAAAaQgAAABpAQAAAHMMAAAAd2luZG93Ym91bmRzKAQAAABphgAAAGncAAAAaXUDAABp
ygIAAHMMAAAAZm9udHNldHRpbmdzKAQAAABzBgAAAEdlbmV2YWkAAAAAaQoAAAAoAwAAAGkAAAAA
aQAAAABpAAAAAHMUAAAAcnVuX3dpdGhfaW50ZXJwcmV0ZXJpAAAAADAAAAEAAAAB2gAAANoAAABC
ABKDtAEqAAAAHAAyAABQeVdTAAAACgCAAAAAAAAAAW4aKA93aW5kb3cgc2V0dGluZ3M=

--Apple-Mail-38-559729230
Content-Disposition: attachment;
	filename=setup.py
Content-Transfer-Encoding: quoted-printable
Content-Type: application/text;
	x-mac-creator=50797468;
	x-unix-mode=0755;
	x-mac-type=54455854;
	name="setup.py"

#!/usr/bin/env=20python=0D=
#----------------------------------------------------------------------=0D=
=0Dimport=20sys,=20os,=20string,=20glob=0Dfrom=20distutils.core=20=20=20=20=
=20=20import=20setup,=20Extension=0Dfrom=20distutils.file_util=20import=20=
copy_file=0Dfrom=20distutils.dir_util=20=20import=20mkpath=0Dfrom=20=
distutils.dep_util=20=20import=20newer=0D=0Dfrom=20my_distutils=20import=20=
run_swig,=20contrib_copy_tree=0D=0D=
#----------------------------------------------------------------------=0D=
#=20flags=20and=20values=20that=20affect=20this=20script=0D=
#----------------------------------------------------------------------=0D=
=0DVERSION=20=20=20=20=20=20=20=20=20=20=3D=20"2.3.3.1"=0DDESCRIPTION=20=20=
=20=20=20=20=3D=20"Cross=20platform=20GUI=20toolkit=20for=20Python"=0D=
AUTHOR=20=20=20=20=20=20=20=20=20=20=20=3D=20"Robin=20Dunn"=0D=
AUTHOR_EMAIL=20=20=20=20=20=3D=20"Robin=20Dunn=20<robin@alldunn.com>"=0D=
URL=20=20=20=20=20=20=20=20=20=20=20=20=20=20=3D=20=
"http://wxPython.org/"=0DLICENSE=20=20=20=20=20=20=20=20=20=20=3D=20=
"wxWindows=20(LGPL=20derivative)"=0DLONG_DESCRIPTION=20=3D=20"""\=0D=
wxPython=20is=20a=20GUI=20toolkit=20for=20Python=20that=20is=20a=20=
wrapper=20around=20the=0DwxWindows=20C++=20GUI=20library.=20=20wxPython=20=
provides=20a=20large=20variety=20of=0Dwindow=20types=20and=20controls,=20=
all=20implemented=20with=20a=20native=20look=20and=0Dfeel=20(and=20=
native=20runtime=20speed)=20on=20the=20platforms=20it=20is=20supported=0D=
on.=0D"""=0D=0D=0DBUILD_GLCANVAS=20=3D=200=20#=20If=20true,=20build=20=
the=20contrib/glcanvas=20extension=20module=0DBUILD_OGL=20=3D=200=20=20=20=
=20=20=20#=20If=20true,=20build=20the=20contrib/ogl=20extension=20module=0D=
BUILD_STC=20=3D=200=20=20=20=20=20=20#=20If=20true,=20build=20the=20=
contrib/stc=20extension=20module=0DBUILD_XRC=20=3D=200=20=20=20=20=20=20=
#=20XML=20based=20resource=20system=0DBUILD_GIZMOS=20=3D=200=20=20=20#=20=
Build=20a=20module=20for=20the=20gizmos=20contrib=20library=0D=
BUILD_DLLWIDGET=20=3D=200#=20Build=20a=20module=20that=20enables=20=
unknown=20wx=20widgets=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20#=20to=20be=20loaded=20from=20a=20DLL=20and=20to=20be=20used=20=
from=20Python.=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20#=20Internet=20Explorer=20wrapper=20(experimental)=0DBUILD_IEWIN=20=3D=20=
(os.name=20=3D=3D=20'nt')=0D=0DCORE_ONLY=20=3D=201=20=20=20=20=20=20#=20=
if=20true,=20don't=20build=20any=20of=20the=20above=0D=0DGL_ONLY=20=3D=20=
0=20=20=20=20=20=20=20=20#=20Only=20used=20when=20making=20the=20-gl=20=
RPM.=20=20See=20the=20"b"=20script=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20#=20for=20the=20ugly=20details=0D=0DUSE_SWIG=20=3D=20=
0=20=20=20=20=20=20=20#=20Should=20we=20actually=20execute=20SWIG,=20or=20=
just=20use=20the=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20#=20files=20already=20in=20the=20distribution?=0D=0DUNICODE=20=3D=200=20=
=20=20=20=20=20=20=20#=20This=20will=20pass=20the=20'wxUSE_UNICODE'=20=
flag=20to=20SWIG=20and=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20#=20will=20ensure=20that=20the=20right=20headers=20are=20found=20=
and=20the=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20=
right=20libs=20are=20linked.=0D=0DIN_CVS_TREE=20=3D=200=20=20=20=20#=20=
Set=20to=20true=20if=20building=20in=20a=20full=20wxWindows=20CVS=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20tree,=20otherwise=20=
will=20assume=20all=20needed=20files=20are=0D=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20#=20available=20in=20the=20wxPython=20source=20=
distribution=0D=0DUNDEF_NDEBUG=20=3D=200=20=20=20#=20Python=202.2=20on=20=
Unix/Linux=20by=20default=20defines=20NDEBUG,=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20#=20and=20distutils=20will=20pick=20this=20=
up=20and=20use=20it=20on=20the=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20#=20compile=20command-line=20for=20the=20extensions.=20=20=
This=20could=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
#=20conflict=20with=20how=20wxWindows=20was=20built.=20=20If=20NDEBUG=20=
is=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20set=20=
then=20wxWindows'=20__WXDEBUG__=20setting=20will=20be=20turned=0D=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20off.=20=20If=20=
wxWindows=20was=20actually=20built=20with=20it=20turned=0D=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20on=20then=20you=20end=20up=20=
with=20mismatched=20class=20structures,=0D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20#=20and=20wxPython=20will=20crash.=0D=0D=
NO_SCRIPTS=20=3D=201=20=20=20=20=20#=20Don't=20install=20the=20tool=20=
scripts=0D=0D=0DWX_CONFIG=20=3D=20"wx-config"=20=20=20=20#=20Usually=20=
you=20shouldn't=20need=20to=20touch=20this,=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20but=20you=20=
can=20set=20it=20to=20pass=20an=20alternate=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20version=20of=20=
wx-config=20or=20alternate=20flags,=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20eg.=20as=20required=20=
by=20the=20.deb=20in-tree=20build.=0D=0DBUILD_BASE=20=3D=20"build"=0D=0D=
#=20Some=20MSW=20build=20settings=0D=0DFINAL=20=3D=200=20=20=20=20=20=20=20=
=20=20=20#=20Mirrors=20use=20of=20same=20flag=20in=20wx=20makefiles,=0D=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20(0=20or=201=20=
only)=20should=20probably=20find=20a=20way=20to=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20#=20autodetect=20this...=0D=0DHYBRID=20=
=3D=201=20=20=20=20=20=20=20=20=20#=20If=20set=20and=20not=20debug=20or=20=
FINAL,=20then=20build=20a=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20#=20hybrid=20extension=20that=20can=20be=20used=20by=20the=0D=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20non-debug=20=
version=20of=20python,=20but=20contains=0D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20#=20debugging=20symbols=20for=20wxWindows=20and=20=
wxPython.=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20=
wxWindows=20must=20have=20been=20built=20with=20/MD,=20not=20/MDd=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20(using=20=
FINAL=3Dhybrid=20will=20do=20it.)=0D=0DWXDLLVER=20=3D=20'233'=20=20=20#=20=
Version=20part=20of=20wxWindows=20DLL=20name=0D=0D=0D=
#----------------------------------------------------------------------=0D=
=0Ddef=20msg(text):=0D=20=20=20=20if=20__name__=20=3D=3D=20"__main__":=0D=
=20=20=20=20=20=20=20=20print=20text=0D=0D=0Ddef=20opj(*args):=0D=20=20=20=
=20path=20=3D=20apply(os.path.join,=20args)=0D=20=20=20=20return=20=
os.path.normpath(path)=0D=0D=0Ddef=20libFlag():=0D=20=20=20=20if=20=
FINAL:=0D=20=20=20=20=20=20=20=20rv=20=3D=20''=0D=20=20=20=20elif=20=
HYBRID:=0D=20=20=20=20=20=20=20=20rv=20=3D=20'h'=0D=20=20=20=20else:=0D=20=
=20=20=20=20=20=20=20rv=20=3D=20'd'=0D=20=20=20=20if=20UNICODE:=0D=20=20=20=
=20=20=20=20=20rv=20=3D=20'u'=20+=20rv=0D=20=20=20=20return=20rv=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#=20Some=20other=20globals=0D=
#----------------------------------------------------------------------=0D=
=0DPKGDIR=20=3D=20'wxPython'=0DwxpExtensions=20=3D=20[]=0D=0Dforce=20=3D=20=
'--force'=20in=20sys.argv=20or=20'-f'=20in=20sys.argv=0Ddebug=20=3D=20=
'--debug'=20in=20sys.argv=20or=20'-g'=20in=20sys.argv=0D=0D=
bcpp_compiling=20=3D=20'-c'=20in=20sys.argv=20and=20'my_bcpp'=20in=20=
sys.argv=20#=20Bad=20heuristic=0D=0Dif=20bcpp_compiling:=0D=20=20=20=20=
msg("Compiling=20wxPython=20by=20Borland=20C/C++=20Compiler")=0D=20=20=20=
=20HYBRID=3D0=0D=20=20=20=20WXBCPPLIBVER=20=3D=20=
string.replace(WXDLLVER,"_","")=0D=20=20=20=20#=20Version=20part=20of=20=
BCPP=20build=20LIBRARY=20name=0D=20=20=20=20WXDLLVER=3D""=20#=20no=20dll=20=
ver=20path=20avaible=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#=20Check=20for=20build=20flags=20on=20the=20command=20line=0D=
#----------------------------------------------------------------------=0D=
=0D#=20Boolean=20(int)=20flags=0Dfor=20flag=20in=20['BUILD_GLCANVAS',=20=
'BUILD_OGL',=20'BUILD_STC',=20'BUILD_XRC',=0D=20=20=20=20=20=20=20=20=20=20=
=20=20=20'BUILD_GIZMOS',=20'BUILD_DLLWIDGET',=20'BUILD_IEWIN',=0D=20=20=20=
=20=20=20=20=20=20=20=20=20=20'CORE_ONLY',=20'USE_SWIG',=20=
'IN_CVS_TREE',=20'UNICODE',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
'UNDEF_NDEBUG',=20'NO_SCRIPTS',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
'FINAL',=20'HYBRID',=20]:=0D=20=20=20=20for=20x=20in=20=
range(len(sys.argv)):=0D=20=20=20=20=20=20=20=20if=20=
string.find(sys.argv[x],=20flag)=20=3D=3D=200:=0D=20=20=20=20=20=20=20=20=
=20=20=20=20pos=20=3D=20string.find(sys.argv[x],=20'=3D')=20+=201=0D=20=20=
=20=20=20=20=20=20=20=20=20=20if=20pos=20>=200:=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20vars()[flag]=20=3D=20eval(sys.argv[x][pos:])=0D=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20sys.argv[x]=20=3D=20''=0D=0D=
#=20String=20options=0Dfor=20option=20in=20['WX_CONFIG',=20'WXDLLVER',=20=
'BUILD_BASE']:=0D=20=20=20=20for=20x=20in=20range(len(sys.argv)):=0D=20=20=
=20=20=20=20=20=20if=20string.find(sys.argv[x],=20option)=20=3D=3D=200:=0D=
=20=20=20=20=20=20=20=20=20=20=20=20pos=20=3D=20string.find(sys.argv[x],=20=
'=3D')=20+=201=0D=20=20=20=20=20=20=20=20=20=20=20=20if=20pos=20>=200:=0D=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20vars()[option]=20=3D=20=
sys.argv[x][pos:]=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
sys.argv[x]=20=3D=20''=0D=0Dsys.argv=20=3D=20filter(None,=20sys.argv)=0D=0D=
=0D=0D=
#----------------------------------------------------------------------=0D=
#=20sanity=20checks=0D=0Dif=20CORE_ONLY:=0D=20=20=20=20BUILD_GLCANVAS=20=
=3D=200=0D=20=20=20=20BUILD_OGL=20=3D=200=0D=20=20=20=20BUILD_STC=20=3D=20=
0=0D=20=20=20=20BUILD_XRC=20=3D=200=0D=20=20=20=20BUILD_GIZMOS=20=3D=200=0D=
=20=20=20=20BUILD_DLLWIDGET=20=3D=200=0D=20=20=20=20BUILD_IEWIN=20=3D=20=
0=0D=0D=0Dif=20UNICODE=20and=20os.name=20!=3D=20'nt':=0D=20=20=20=20=
print=20"UNICODE=20is=20currently=20only=20supported=20on=20Win32"=0D=20=20=
=20=20sys.exit()=0D=0D=0Dif=20UNICODE:=0D=20=20=20=20BUILD_BASE=20=3D=20=
BUILD_BASE=20+=20'.unicode'=0D=20=20=20=20VERSION=20=3D=20VERSION=20+=20=
'u'=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#=20Setup=20some=20platform=20specific=20stuff=0D=
#----------------------------------------------------------------------=0D=
=0Dif=20os.name=20=3D=3D=20'nt':=0D=20=20=20=20#=20Set=20compile=20flags=20=
and=20such=20for=20MSVC.=20=20These=20values=20are=20derived=0D=20=20=20=20=
#=20from=20the=20wxWindows=20makefiles=20for=20MSVC,=20other=20compilers=20=
settings=0D=20=20=20=20#=20will=20probably=20vary...=0D=20=20=20=20if=20=
os.environ.has_key('WXWIN'):=0D=20=20=20=20=20=20=20=20WXDIR=20=3D=20=
os.environ['WXWIN']=0D=20=20=20=20else:=0D=20=20=20=20=20=20=20=20=
msg("WARNING:=20WXWIN=20not=20set=20in=20environment.")=0D=20=20=20=20=20=
=20=20=20WXDIR=20=3D=20'..'=20=20#=20assumes=20in=20CVS=20tree=0D=20=20=20=
=20WXPLAT=20=3D=20'__WXMSW__'=0D=20=20=20=20GENDIR=20=3D=20'msw'=0D=0D=20=
=20=20=20if=20debug:=0D=20=20=20=20=20=20=20=20FINAL=20=20=3D=200=0D=20=20=
=20=20=20=20=20=20HYBRID=20=3D=200=0D=0D=20=20=20=20if=20HYBRID:=0D=20=20=
=20=20=20=20=20=20FINAL=20=3D=200=0D=0D=20=20=20=20includes=20=3D=20=
['src',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20opj(WXDIR,=20=
'lib',=20'mswdll'=20+=20libFlag()),=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20opj(WXDIR,=20'include'),=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20]=0D=0D=20=20=20=20defines=20=3D=20[=20('WIN32',=20None),=20=20=
=20=20=20=20=20=20#=20Some=20of=20these=20are=20no=20longer=0D=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20('__WIN32__',=20None),=20=20=20=20#=20=
necessary.=20=20Anybody=20know=20which?=0D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20('_WINDOWS',=20None),=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20('__WINDOWS__',=20None),=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20('WINVER',=20'0x0400'),=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20('__WIN95__',=20None),=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20('STRICT',=20None),=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20(WXPLAT,=20None),=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20('WXUSINGDLL',=20'1'),=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20('SWIG_GLOBAL',=20None),=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20('HAVE_CONFIG_H',=20None),=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20('WXP_USE_THREAD',=20'1'),=0D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20]=0D=0D=20=20=20=20if=20bcpp_compiling:=20=20#=20=
overwrite=20it=0D=20=20=20=20=20=20=20=20defines=20=3D=20[=0D=20=20=20=20=
=20=20=20=20=20=20=20=20('_WINDOWS',=20None),=0D=20=20=20=20=20=20=20=20=20=
=20=20=20('WINVER',=20'0x0400'),=0D=20=20=20=20=20=20=20=20=20=20=20=20=
('STRICT',=20None),=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=
('WXUSINGDLL',=20'1'),=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=
('SWIG_GLOBAL',=20None),=0D=20=20=20=20=20=20=20=20=20=20=20=20=
('HAVE_CONFIG_H',=20None),=0D=20=20=20=20=20=20=20=20=20=20=20=20=
('WXP_USE_THREAD',=20'1'),=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=
('WXUSE_DEFINE','1'),=0D=20=20=20=20=20=20=20=20=20=20=20=20=
('_RTLDLL',None),=0D=20=20=20=20=20=20=20=20=20=20=20=20]=0D=0D=0D=20=20=20=
=20if=20not=20FINAL=20or=20HYBRID:=0D=20=20=20=20=20=20=20=20=
defines.append(=20('__WXDEBUG__',=20None)=20)=0D=0D=20=20=20=20libdirs=20=
=3D=20[=20opj(WXDIR,=20'lib')=20]=0D=20=20=20=20wxdll=20=3D=20'wxmsw'=20=
+=20WXDLLVER=20+=20libFlag()=0D=20=20=20=20libs=20=3D=20[=20wxdll=20]=0D=0D=
=20=20=20=20if=20bcpp_compiling:=0D=20=20=20=20=20=20=20=20libs=20=3D=20=
[=20'wx'+WXBCPPLIBVER=20]=0D=0D=20=20=20=20libs=20=3D=20libs=20+=20=
['kernel32',=20'user32',=20'gdi32',=20'comdlg32',=0D=20=20=20=20=20=20=20=
=20=20=20=20=20'winspool',=20'winmm',=20'shell32',=20'oldnames',=20=
'comctl32',=0D=20=20=20=20=20=20=20=20=20=20=20=20'ctl3d32',=20'odbc32',=20=
'ole32',=20'oleaut32',=20'uuid',=20'rpcrt4',=0D=20=20=20=20=20=20=20=20=20=
=20=20=20'advapi32',=20'wsock32']=0D=0D=0D=20=20=20=20cflags=20=3D=20[=20=
'/Gy',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20#=20'/GX-'=20=20#=20=
workaround=20for=20internal=20compiler=20error=20in=20MSVC=20on=20some=20=
machines=0D=20=20=20=20=20=20=20=20=20=20=20=20=20]=0D=20=20=20=20lflags=20=
=3D=20None=0D=0D=0D=20=20=20=20if=20bcpp_compiling:=20=20#=20BCC=20flags=0D=
=20=20=20=20=20=20=20=20cflags=20=3D=20['-5',=20'-VF',=20=20###=20To=20=
support=20MSVC=20spurious=20semicolons=20in=20the=20class=20scope=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20###=20else,=20all=20=
semicolons=20at=20the=20end=20of=20all=20DECLARE_...CALLBACK...=20macros=20=
must=20be=20eliminated=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20'-Hc',=20'-H=3D'=20+=20opj(WXDIR,=20'\src\msw\wx32.csm'),=0D=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20'@'=20+=20opj(WXDIR,=20=
'\src\msw\wxwin32.cfg')=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20]=0D=20=20=20=20=20=20=20=20if=20not=20FINAL:=0D=20=20=20=20=20=20=20=
=20=20=20=20=20cflags=20=3D=20cflags=20+=20['/Od',=20'/v',=20'/y']=0D=20=20=
=20=20=20=20=20=20=20=20=20=20lflags=20=3D=20lflags=20+=20['/v',=20]=0D=0D=
=20=20=20=20else:=20=20#=20MSVC=20flags=0D=20=20=20=20=20=20=20=20if=20=
FINAL:=0D=20=20=20=20=20=20=20=20=20=20=20=20pass=20#cflags=20=3D=20=
cflags=20+=20['/O1']=0D=20=20=20=20=20=20=20=20elif=20HYBRID=20:=0D=20=20=
=20=20=20=20=20=20=20=20=20=20pass=20#cflags=20=3D=20cflags=20+=20=
['/Ox']=0D=20=20=20=20=20=20=20=20else:=0D=20=20=20=20=20=20=20=20=20=20=20=
=20pass=20#=20cflags=20=3D=20cflags=20+=20['/Od',=20'/Z7']=0D=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20#=20lflags=20=3D=20['/DEBUG',=20]=0D=
=0D=0D=0D=0Delif=20os.name=20=3D=3D=20'posix'=20and=20sys.platform[:6]=20=
=3D=3D=20"darwin":=0D=20=20=20=20#=20Flags=20and=20such=20for=20a=20=
Darwin=20(Max=20OS=20X)=20build=20of=20Python=0D=0D=20=20=20=20WXDIR=20=3D=
=20'..'=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20assumes=20=
IN_CVS_TREE=0D=20=20=20=20WXPLAT=20=3D=20'__WXMAC__'=0D=20=20=20=20=
GENDIR=20=3D=20'mac'=0D=0D=20=20=20=20includes=20=3D=20['src']=0D=20=20=20=
=20defines=20=3D=20[('SWIG_GLOBAL',=20None),=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20('HAVE_CONFIG_H',=20None),=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20('WXP_USE_THREAD',=20'1'),=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20]=0D=20=20=20=20libdirs=20=3D=20[]=0D=20=20=20=20libs=20=
=3D=20[]=0D=0D=20=20=20=20cflags=20=3D=20os.popen(WX_CONFIG=20+=20'=20=
--cxxflags',=20'r').read()[:-1]=0D=20=20=20=20cflags=20=3D=20=
string.split(cflags)=0D=20=20=20=20if=20UNDEF_NDEBUG:=0D=20=20=20=20=20=20=
=20=20cflags.append('-UNDEBUG')=0D=20=20=20=20if=20debug:=0D=20=20=20=20=20=
=20=20=20cflags.append('-g')=0D=20=20=20=20=20=20=20=20=
cflags.append('-O0')=0D=0D=20=20=20=20lflags=20=3D=20os.popen(WX_CONFIG=20=
+=20'=20--libs',=20'r').read()[:-1]=0D=20=20=20=20lflags=20=3D=20=
string.split(lflags)=0D=0D=20=20=20=20NO_SCRIPTS=20=3D=201=0D=0D=0Delif=20=
os.name=20=3D=3D=20'posix':=0D=20=20=20=20#=20Set=20flags=20for=20Unix=20=
type=20platforms=0D=0D=20=20=20=20WXDIR=20=3D=20'..'=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20#=20assumes=20IN_CVS_TREE=0D=20=20=20=20WXPLAT=20=3D=20=
'__WXGTK__'=20=20=20=20=20=20#=20and=20assumes=20GTK...=0D=20=20=20=20=
GENDIR=20=3D=20'gtk'=20=20=20=20=20=20=20=20=20=20=20=20#=20Need=20to=20=
allow=20for=20Motif=20eventually=20too=0D=0D=20=20=20=20includes=20=3D=20=
['src']=0D=0D=20=20=20=20defines=20=3D=20[('SWIG_GLOBAL',=20None),=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20('HAVE_CONFIG_H',=20None),=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20('WXP_USE_THREAD',=20'1'),=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20]=0D=20=20=20=20libdirs=20=3D=20=
[]=0D=20=20=20=20libs=20=3D=20[]=0D=0D=20=20=20=20cflags=20=3D=20=
os.popen(WX_CONFIG=20+=20'=20--cxxflags',=20'r').read()[:-1]=20+=20'=20'=20=
+=20\=0D=20=20=20=20=20=20=20=20=20=20=20=20=20os.popen('gtk-config=20=
--cflags',=20'r').read()[:-1]=0D=20=20=20=20cflags=20=3D=20=
string.split(cflags)=0D=20=20=20=20if=20UNDEF_NDEBUG:=0D=20=20=20=20=20=20=
=20=20cflags.append('-UNDEBUG')=0D=20=20=20=20if=20debug:=0D=20=20=20=20=20=
=20=20=20cflags.append('-g')=0D=20=20=20=20=20=20=20=20=
cflags.append('-O0')=0D=0D=20=20=20=20lflags=20=3D=20os.popen(WX_CONFIG=20=
+=20'=20--libs',=20'r').read()[:-1]=0D=20=20=20=20lflags=20=3D=20=
string.split(lflags)=0D=0D=0Delif=20os.name=20=3D=3D=20"mac":=0D=09=
#WXDIR=20=3D=20'::'=20=20=20=20=20=20=20=20=20=20=20=20=20=20#=20assumes=20=
IN_CVS_TREE=20-=20not=20working=20with=20CodeWarrior??=0D=09WXDIR=20=3D=20=
'Macintosh=20HD:Users:kevino:oss:wxPythonSrc-2.3.3.1'=0D=20=09WXPLAT=20=3D=
=20'__WXMAC__'=0D=09GENDIR=20=3D=20'mac'=0D=0D=20=09includes=20=3D=20=
['src',=20=20opj(WXDIR,=20'lib'),=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20opj(WXDIR,=20'include'),=20"Macintosh=20HD:Applications:Python=20=
2.2.2:Mac:mwerks:",=20"Macintosh=20HD:Applications:Python=20=
2.2.2:Mac:include:"=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20]=0D=
=0D=09defines=20=3D=20[('SWIG_GLOBAL',=20None),=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20('HAVE_CONFIG_H',=20None),=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20('WXP_USE_THREAD',=20'1'),(WXPLAT,=20'1'),=20=
('__WXDEBUG__',=20'1'),=20('WXMAKINGDLL',=20'1')=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20]=0D=20=09libdirs=20=3D=20[opj(WXDIR,=20'lib')]=0D=09=
libs=20=3D=20['wx_Carbon_d.shlb',=20'wx_Carbon.rsrc',=20'jpeg_PPC.lib',=20=
'png_PPC.lib',=20'tif_PPC_d.lib',=20'zlib_PPC.lib'=20]=0D=09=0D=09cflags=20=
=3D=20[]=0D=09lflags=20=3D=20[]=0D=0D=20=20=20=20=09NO_SCRIPTS=20=3D=201=0D=
=0D=
#----------------------------------------------------------------------=0D=
#=20Check=20if=20the=20version=20file=20needs=20updated=0D=
#----------------------------------------------------------------------=0D=
=0D#if=20IN_CVS_TREE=20and=20newer('setup.py',=20'src/__version__.py'):=0D=
open('src/__version__.py',=20'w').write("ver=20=3D=20'%s'\n"=20%=20=
VERSION)=0D=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#=20SWIG=20defaults=0D=
#----------------------------------------------------------------------=0D=
=0Dswig_force=20=3D=20force=0Dswig_args=20=3D=20['-c++',=20'-shadow',=20=
'-python',=20'-keyword',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
'-dnone',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20#'-dascii',=0D=20=20=20=
=20=20=20=20=20=20=20=20=20=20#'-docstring',=20'-Sbefore',=0D=20=20=20=20=
=20=20=20=20=20=20=20=20=20'-I./src',=20'-D'+WXPLAT,=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20]=0Dif=20UNICODE:=0D=20=20=20=20=
swig_args.append('-DwxUSE_UNICODE')=0D=0Dswig_deps=20=3D=20=
['src/my_typemaps.i']=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#=20Define=20the=20CORE=20extension=20module=0D=
#----------------------------------------------------------------------=0D=
=0Dif=20not=20GL_ONLY:=0D=20=20=20=20msg('Preparing=20CORE...')=0D=20=20=20=
=20swig_files=20=3D=20[=20'wx.i',=20'windows.i',=20'windows2.i',=20=
'windows3.i',=20'events.i',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20'misc.i',=20'misc2.i',=20'gdi.i',=20'mdi.i',=20'controls.i',=0D=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20'controls2.i',=20=
'cmndlgs.i',=20'stattool.i',=20'frames.i',=20'image.i',=0D=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20'printfw.i',=20'sizers.i',=20=
'clip_dnd.i',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'filesys.i',=20'streams.i',=20'utils.i',=20'fonts.i'=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20]=0D=0D=20=20=20=20swig_sources=20=
=3D=20run_swig(swig_files,=20'src',=20GENDIR,=20PKGDIR,=0D=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
USE_SWIG,=20swig_force,=20swig_args,=20swig_deps)=0D=0D=20=20=20=20=
copy_file(os.path.join('src',=20'__init__.py'),=20PKGDIR,=20update=3D1,=20=
verbose=3D0)=0D=20=20=20=20copy_file(os.path.join('src',=20=
'__version__.py'),=20PKGDIR,=20update=3D1,=20verbose=3D0)=0D=20=20=20=20=
copy_file(os.path.join('src',=20'wxc.pyd.manifest'),=20PKGDIR,=20=
update=3D1,=20verbose=3D0)=0D=0D=20=20=20=20if=20IN_CVS_TREE:=20=20=20#=20=
update=20the=20license=20files=0D=20=20=20=20=20=20=20=20=
mkpath('licence')=0D=20=20=20=20=20=20=20=20for=20file=20in=20=
['preamble.txt',=20'licence.txt',=20'licendoc.txt',=20'lgpl.txt']:=0D=20=20=
=20=20=20=20=20=20=20=20=20=20copy_file(opj(WXDIR,=20'docs',=20file),=20=
opj('licence',file),=20update=3D1,=20verbose=3D0)=0D=0D=0D=20=20=20=20if=20=
os.name=20=3D=3D=20'nt':=0D=20=20=20=20=20=20=20=20rc_file=20=3D=20=
['src/wxc.rc']=0D=20=20=20=20else:=0D=20=20=20=20=20=20=20=20rc_file=20=3D=
=20[]=0D=0D=0D=20=20=20=20ext=20=3D=20Extension('wxc',=20=
['src/helpers.cpp',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20'src/libpy.c',=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20]=20+=20=
rc_file=20+=20swig_sources,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20include_dirs=20=3D=20includes,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20define_macros=20=3D=20defines,=0D=0D=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20library_dirs=20=
=3D=20libdirs,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20libraries=20=3D=20libs,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20extra_compile_args=20=3D=20cflags,=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20extra_link_args=20=3D=20=
lflags,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20)=0D=
=20=20=20=20wxpExtensions.append(ext)=0D=0D=0D=20=20=20=20#=20Extension=20=
for=20the=20grid=20module=0D=20=20=20=20swig_sources=20=3D=20=
run_swig(['grid.i'],=20'src',=20GENDIR,=20PKGDIR,=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20USE_SWIG,=20=
swig_force,=20swig_args,=20swig_deps)=0D=20=20=20=20ext=20=3D=20=
Extension('gridc',=20swig_sources,=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20include_dirs=20=3D=20=20includes,=0D=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20define_macros=20=3D=20=
defines,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
library_dirs=20=3D=20libdirs,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20libraries=20=3D=20libs,=0D=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20extra_compile_args=20=3D=20cflags,=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20extra_link_args=20=
=3D=20lflags,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20)=0D=20=20=20=20wxpExtensions.append(ext)=0D=0D=0D=20=20=20=20#=20=
Extension=20for=20the=20html=20modules=0D=20=20=20=20swig_sources=20=3D=20=
run_swig(['html.i',=20'htmlhelp.i'],=20'src',=20GENDIR,=20PKGDIR,=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20USE_SWIG,=20swig_force,=20swig_args,=20swig_deps)=0D=20=20=20=20ext=20=
=3D=20Extension('htmlc',=20swig_sources,=0D=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20include_dirs=20=3D=20=20includes,=0D=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20define_macros=20=3D=20=
defines,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
library_dirs=20=3D=20libdirs,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20libraries=20=3D=20libs,=0D=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20extra_compile_args=20=3D=20cflags,=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20extra_link_args=20=
=3D=20lflags,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20)=0D=20=20=20=20wxpExtensions.append(ext)=0D=0D=0D=20=20=20=20#=20=
Extension=20for=20the=20calendar=20module=0D=20=20=20=20swig_sources=20=3D=
=20run_swig(['calendar.i'],=20'src',=20GENDIR,=20PKGDIR,=0D=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
USE_SWIG,=20swig_force,=20swig_args,=20swig_deps)=0D=20=20=20=20ext=20=3D=20=
Extension('calendarc',=20swig_sources,=0D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20include_dirs=20=3D=20=20includes,=0D=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20define_macros=20=3D=20=
defines,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
library_dirs=20=3D=20libdirs,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20libraries=20=3D=20libs,=0D=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20extra_compile_args=20=3D=20cflags,=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20extra_link_args=20=
=3D=20lflags,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20)=0D=20=20=20=20wxpExtensions.append(ext)=0D=0D=0D=20=20=20=20#=20=
Extension=20for=20the=20help=20module=0D=20=20=20=20swig_sources=20=3D=20=
run_swig(['help.i'],=20'src',=20GENDIR,=20PKGDIR,=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20USE_SWIG,=20=
swig_force,=20swig_args,=20swig_deps)=0D=20=20=20=20ext=20=3D=20=
Extension('helpc',=20swig_sources,=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20include_dirs=20=3D=20=20includes,=0D=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20define_macros=20=3D=20=
defines,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
library_dirs=20=3D=20libdirs,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20libraries=20=3D=20libs,=0D=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20extra_compile_args=20=3D=20cflags,=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20extra_link_args=20=
=3D=20lflags,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20)=0D=20=20=20=20wxpExtensions.append(ext)=0D=0D=0D=20=20=20=20#=20=
Extension=20for=20the=20wizard=20module=0D=20=20=20=20swig_sources=20=3D=20=
run_swig(['wizard.i'],=20'src',=20GENDIR,=20PKGDIR,=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20USE_SWIG,=20=
swig_force,=20swig_args,=20swig_deps)=0D=20=20=20=20ext=20=3D=20=
Extension('wizardc',=20swig_sources,=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20include_dirs=20=3D=20=20includes,=0D=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20define_macros=20=3D=20=
defines,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
library_dirs=20=3D=20libdirs,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20libraries=20=3D=20libs,=0D=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20extra_compile_args=20=3D=20cflags,=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20extra_link_args=20=
=3D=20lflags,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20)=0D=20=20=20=20wxpExtensions.append(ext)=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#=20Define=20the=20GLCanvas=20extension=20module=0D=
#----------------------------------------------------------------------=0D=
=0DCTRB_SRC=20=3D=20=20opj(WXDIR,=20'contrib/src')=0DCTRB_INC=20=3D=20=20=
opj(WXDIR,=20'contrib/include/wx')=0D=0Dif=20BUILD_GLCANVAS=20or=20=
GL_ONLY:=0D=20=20=20=20msg('Preparing=20GLCANVAS...')=0D=20=20=20=20=
location=20=3D=20'contrib/glcanvas'=0D=20=20=20=20swig_files=20=3D=20=
['glcanvas.i']=0D=20=20=20=20other_sources=20=3D=20[]=0D=0D=20=20=20=20=
swig_sources=20=3D=20run_swig(swig_files,=20location,=20GENDIR,=20=
PKGDIR,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20USE_SWIG,=20swig_force,=20swig_args,=20swig_deps)=0D=
=0D=20=20=20=20gl_libs=20=3D=20[]=0D=20=20=20=20if=20os.name=20=3D=3D=20=
'posix':=0D=20=20=20=20=20=20=20=20gl_config=20=3D=20os.popen(WX_CONFIG=20=
+=20'=20--gl-libs',=20'r').read()[:-1]=0D=20=20=20=20=20=20=20=20=
gl_lflags=20=3D=20string.split(gl_config)=20+=20lflags=0D=20=20=20=20=20=20=
=20=20gl_libs=20=3D=20libs=0D=20=20=20=20else:=0D=20=20=20=20=20=20=20=20=
other_sources=20=3D=20[opj(location,=20'msw/myglcanvas.cpp')]=0D=20=20=20=
=20=20=20=20=20gl_libs=20=3D=20libs=20+=20['opengl32',=20'glu32']=0D=20=20=
=20=20=20=20=20=20gl_lflags=20=3D=20lflags=0D=0D=20=20=20=20ext=20=3D=20=
Extension('glcanvasc',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20swig_sources=20+=20other_sources,=0D=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20include_dirs=20=3D=20includes,=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20define_macros=20=3D=20=
defines,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
library_dirs=20=3D=20libdirs,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20libraries=20=3D=20gl_libs,=0D=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20extra_compile_args=20=3D=20cflags,=0D=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
extra_link_args=20=3D=20gl_lflags,=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20)=0D=0D=20=20=20=20wxpExtensions.append(ext)=0D=0D=
=0D=
#----------------------------------------------------------------------=0D=
#=20Define=20the=20OGL=20extension=20module=0D=
#----------------------------------------------------------------------=0D=
=0Dif=20not=20GL_ONLY=20and=20BUILD_OGL:=0D=20=20=20=20msg('Preparing=20=
OGL...')=0D=20=20=20=20location=20=3D=20'contrib/ogl'=0D=20=20=20=20=
OGLLOC=20=3D=20opj(location,=20'contrib/src/ogl')=0D=20=20=20=20OGLINC=20=
=3D=20opj(location,=20'contrib/include')=0D=0D=20=20=20=20swig_files=20=3D=
=20['ogl.i',=20'oglbasic.i',=20'oglshapes.i',=20'oglshapes2.i',=0D=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20'oglcanvas.i']=0D=0D=20=20=20=
=20swig_sources=20=3D=20run_swig(swig_files,=20location,=20'',=20PKGDIR,=0D=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20USE_SWIG,=20swig_force,=20swig_args,=20swig_deps)=0D=0D=20=20=20=
=20if=20IN_CVS_TREE:=0D=20=20=20=20=20=20=20=20#=20make=20sure=20local=20=
copy=20of=20contrib=20files=20are=20up=20to=20date=0D=20=20=20=20=20=20=20=
=20contrib_copy_tree(opj(CTRB_INC,=20'ogl'),=20opj(OGLINC,=20'wx/ogl'))=0D=
=20=20=20=20=20=20=20=20contrib_copy_tree(opj(CTRB_SRC,=20'ogl'),=20=
OGLLOC)=0D=0D=20=20=20=20ext=20=3D=20Extension('oglc',=20['%s/basic.cpp'=20=
%=20OGLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20'%s/bmpshape.cpp'=20%=20OGLLOC,=0D=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/composit.cpp'=20%=20OGLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/divided.cpp'=20%=20=
OGLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20'%s/lines.cpp'=20%=20OGLLOC,=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/misc.cpp'=20%=20OGLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/basic2.cpp'=20%=20OGLLOC,=0D=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20'%s/canvas.cpp'=20%=20OGLLOC,=0D=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/constrnt.cpp'=20%=20OGLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/drawn.cpp'=20%=20=
OGLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20'%s/mfutils.cpp'=20%=20OGLLOC,=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/ogldiag.cpp'=20%=20OGLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20]=20+=20swig_sources,=0D=0D=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20include_dirs=20=
=3D=20=20[OGLINC]=20+=20includes,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20define_macros=20=3D=20defines,=0D=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20library_dirs=20=3D=20libdirs,=0D=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20libraries=20=
=3D=20libs,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20extra_compile_args=20=3D=20cflags,=0D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20extra_link_args=20=3D=20lflags,=0D=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20)=0D=0D=20=20=20=20=
wxpExtensions.append(ext)=0D=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#=20Define=20the=20STC=20extension=20module=0D=
#----------------------------------------------------------------------=0D=
=0Dif=20not=20GL_ONLY=20and=20BUILD_STC:=0D=20=20=20=20msg('Preparing=20=
STC...')=0D=20=20=20=20location=20=3D=20'contrib/stc'=0D=20=20=20=20=
STCLOC=20=3D=20opj(location,=20'contrib/src/stc')=0D=20=20=20=20STCINC=20=
=3D=20opj(location,=20'contrib/include')=0D=20=20=20=20STC_H=20=3D=20=20=
opj(location,=20'contrib/include/wx/stc')=0D=0D=20=20=20=20if=20=
IN_CVS_TREE:=0D=20=20=20=20=20=20=20=20#=20Check=20if=20gen_iface=20=
needs=20to=20be=20run=20for=20the=20wxSTC=20sources=0D=20=20=20=20=20=20=20=
=20if=20(newer(opj(CTRB_SRC,=20'stc/stc.h.in'),=20=20=20=20=20=
opj(CTRB_INC,=20'stc/stc.h'=20=20))=20or=0D=20=20=20=20=20=20=20=20=20=20=
=20=20newer(opj(CTRB_SRC,=20'stc/stc.cpp.in'),=20=20=20opj(CTRB_SRC,=20=
'stc/stc.cpp'))=20or=0D=20=20=20=20=20=20=20=20=20=20=20=20=
newer(opj(CTRB_SRC,=20'stc/gen_iface.py'),=20opj(CTRB_SRC,=20=
'stc/stc.cpp'))):=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20msg('Running=20=
gen_iface.py,=20regenerating=20stc.h=20and=20stc.cpp...')=0D=20=20=20=20=20=
=20=20=20=20=20=20=20cwd=20=3D=20os.getcwd()=0D=20=20=20=20=20=20=20=20=20=
=20=20=20os.chdir(opj(CTRB_SRC,=20'stc'))=0D=20=20=20=20=20=20=20=20=20=20=
=20=20import=20gen_iface=0D=20=20=20=20=20=20=20=20=20=20=20=20=
gen_iface.main([])=0D=20=20=20=20=20=20=20=20=20=20=20=20os.chdir(cwd)=0D=
=0D=0D=20=20=20=20=20=20=20=20#=20make=20sure=20local=20copy=20of=20=
contrib=20files=20are=20up=20to=20date=0D=20=20=20=20=20=20=20=20=
contrib_copy_tree(opj(CTRB_INC,=20'stc'),=20opj(STCINC,=20'wx/stc'))=0D=20=
=20=20=20=20=20=20=20contrib_copy_tree(opj(CTRB_SRC,=20'stc'),=20STCLOC)=0D=
=0D=0D=0D=20=20=20=20swig_files=20=3D=20['stc_.i']=0D=20=20=20=20=
swig_sources=20=3D=20run_swig(swig_files,=20location,=20GENDIR,=20=
PKGDIR,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20USE_SWIG,=20swig_force,=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20swig_args=20+=20=
['-I'+STC_H,=20'-I'+location],=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20[opj(STC_H,=20'stc.h')]=20+=20=
swig_deps)=0D=0D=20=20=20=20#=20copy=20a=20contrib=20project=20specific=20=
py=20module=20to=20the=20main=20package=20dir=0D=20=20=20=20=
copy_file(opj(location,=20'stc.py'),=20PKGDIR,=20update=3D1,=20=
verbose=3D0)=0D=0D=20=20=20=20#=20add=20some=20include=20dirs=20to=20the=20=
standard=20set=0D=20=20=20=20stc_includes=20=3D=20includes[:]=0D=20=20=20=
=20stc_includes.append('%s/scintilla/include'=20%=20STCLOC)=0D=20=20=20=20=
stc_includes.append('%s/scintilla/src'=20%=20STCLOC)=0D=20=20=20=20=
stc_includes.append(STCINC)=0D=0D=20=20=20=20#=20and=20some=20macro=20=
definitions=0D=20=20=20=20stc_defines=20=3D=20defines[:]=0D=20=20=20=20=
stc_defines.append(=20('__WX__',=20None)=20)=0D=20=20=20=20=
stc_defines.append(=20('SCI_LEXER',=20None)=20)=0D=20=20=20=20=
stc_defines.append(=20('LINK_LEXERS',=20None)=20)=0D=0D=0D=20=20=20=20=
ext=20=3D=20Extension('stc_c',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20['%s/scintilla/src/AutoComplete.cxx'=20%=20STCLOC,=0D=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/CallTip.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/CellBuffer.cxx'=20=
%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20'%s/scintilla/src/ContractionState.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/Document.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/DocumentAccessor.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/Editor.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/Indicator.cxx'=20%=20=
STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/KeyMap.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/KeyWords.cxx'=20%=20=
STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/LineMarker.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/PropSet.cxx'=20=
%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20'%s/scintilla/src/RESearch.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/ScintillaBase.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/Style.cxx'=20=
%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20'%s/scintilla/src/StyleContext.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/UniConversion.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/ViewStyle.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/WindowAccessor.cxx'=20%=20STCLOC,=0D=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/LexAda.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/LexAVE.cxx'=20%=20=
STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/LexBaan.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/LexBullant.cxx'=20=
%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20'%s/scintilla/src/LexCPP.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/LexConf.cxx'=20=
%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20'%s/scintilla/src/LexCrontab.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/LexEiffel.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/LexHTML.cxx'=20=
%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20'%s/scintilla/src/LexLisp.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/LexLua.cxx'=20%=20=
STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/scintilla/src/LexMatlab.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/LexOthers.cxx'=20=
%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20'%s/scintilla/src/LexPascal.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/LexPerl.cxx'=20=
%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20'%s/scintilla/src/LexPython.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/LexRuby.cxx'=20=
%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20'%s/scintilla/src/LexSQL.cxx'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/scintilla/src/LexVB.cxx'=20%=20=
STCLOC,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20'%s/PlatWX.cpp'=20%=20STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20'%s/ScintillaWX.cpp'=20%=20STCLOC,=0D=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/stc.cpp'=20%=20=
STCLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
]=20+=20swig_sources,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20include_dirs=20=3D=20stc_includes,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20define_macros=20=3D=20stc_defines,=0D=
=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
library_dirs=20=3D=20libdirs,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20libraries=20=3D=20libs,=0D=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20extra_compile_args=20=3D=20cflags,=0D=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20extra_link_args=20=
=3D=20lflags,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20)=0D=0D=20=20=20=20wxpExtensions.append(ext)=0D=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#=20Define=20the=20IEWIN=20extension=20module=20(experimental)=0D=
#----------------------------------------------------------------------=0D=
=0Dif=20not=20GL_ONLY=20and=20BUILD_IEWIN:=0D=20=20=20=20msg('Preparing=20=
IEWIN...')=0D=20=20=20=20location=20=3D=20'contrib/iewin'=0D=0D=20=20=20=20=
swig_files=20=3D=20['iewin.i',=20]=0D=0D=20=20=20=20swig_sources=20=3D=20=
run_swig(swig_files,=20location,=20'',=20PKGDIR,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20USE_SWIG,=20=
swig_force,=20swig_args,=20swig_deps)=0D=0D=0D=20=20=20=20ext=20=3D=20=
Extension('iewinc',=20['%s/IEHtmlWin.cpp'=20%=20location,=0D=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20'%s/wxactivex.cpp'=20%=20location,=0D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20]=20+=20=
swig_sources,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20include_dirs=20=3D=20=20includes,=0D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20define_macros=20=3D=20defines,=0D=0D=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20library_dirs=20=3D=20=
libdirs,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
libraries=20=3D=20libs,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20extra_compile_args=20=3D=20cflags,=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20extra_link_args=20=3D=20lflags,=0D=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20)=0D=0D=20=20=
=20=20wxpExtensions.append(ext)=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#=20Define=20the=20XRC=20extension=20module=0D=
#----------------------------------------------------------------------=0D=
=0Dif=20not=20GL_ONLY=20and=20BUILD_XRC:=0D=20=20=20=20msg('Preparing=20=
XRC...')=0D=20=20=20=20location=20=3D=20'contrib/xrc'=0D=20=20=20=20=
XMLLOC=20=3D=20opj(location,=20'contrib/src/xrc')=0D=20=20=20=20XMLINC=20=
=3D=20opj(location,=20'contrib/include')=0D=0D=20=20=20=20swig_files=20=3D=
=20['xrc.i']=0D=0D=20=20=20=20swig_sources=20=3D=20run_swig(swig_files,=20=
location,=20'',=20PKGDIR,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20USE_SWIG,=20swig_force,=20=
swig_args,=20swig_deps)=0D=0D=20=20=20=20xmlres_includes=20=3D=20=
includes[:]=0D=20=20=20=20xmlres_includes.append('%s/expat/xmlparse'=20%=20=
XMLLOC)=0D=20=20=20=20xmlres_includes.append('%s/expat/xmltok'=20%=20=
XMLLOC)=0D=20=20=20=20xmlres_includes.append(XMLINC)=0D=0D=0D=20=20=20=20=
#=20make=20sure=20local=20copy=20of=20contrib=20files=20are=20up=20to=20=
date=0D=20=20=20=20if=20IN_CVS_TREE:=0D=20=20=20=20=20=20=20=20=
contrib_copy_tree(opj(CTRB_INC,=20'xrc'),=20opj(XMLINC,=20'wx/xrc'))=0D=20=
=20=20=20=20=20=20=20contrib_copy_tree(opj(CTRB_SRC,=20'xrc'),=20XMLLOC)=0D=
=0D=20=20=20=20ext=20=3D=20Extension('xrcc',=20=
['%s/expat/xmlparse/xmlparse.c'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/expat/xmltok/xmlrole.c'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/expat/xmltok/xmltok.c'=20%=20XMLLOC,=0D=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_bmp.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/xh_bmpbt.cpp'=20=
%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20'%s/xh_bttn.cpp'=20%=20XMLLOC,=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20'%s/xh_cald.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_chckb.cpp'=20%=20XMLLOC,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_chckl.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_choic.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_combo.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/xh_dlg.cpp'=20=
%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20'%s/xh_frame.cpp'=20%=20XMLLOC,=0D=0D=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20'%s/xh_gauge.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20'%s/xh_gdctl.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_html.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/xh_listb.cpp'=20=
%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20'%s/xh_listc.cpp'=20%=20XMLLOC,=0D=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20'%s/xh_menu.cpp'=20%=20XMLLOC,=0D=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_notbk.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_panel.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_radbt.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_radbx.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_scrol.cpp'=20%=20XMLLOC,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_sizer.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_slidr.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_spin.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/xh_stbmp.cpp'=20=
%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20'%s/xh_stbox.cpp'=20%=20XMLLOC,=0D=0D=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20'%s/xh_stlin.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20'%s/xh_sttxt.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xh_text.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/xh_toolb.cpp'=20=
%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20'%s/xh_tree.cpp'=20%=20XMLLOC,=0D=0D=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20'%s/xh_unkwn.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/xml.cpp'=20%=20XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20'%s/xmlres.cpp'=20%=20=
XMLLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20'%s/xmlrsall.cpp'=20%=20XMLLOC,=0D=0D=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20]=20+=20swig_sources,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20include_dirs=20=3D=20=20xmlres_includes,=0D=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20define_macros=20=3D=20=
defines,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
library_dirs=20=3D=20libdirs,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20libraries=20=3D=20libs,=0D=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20extra_compile_args=20=3D=20cflags,=0D=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20extra_link_args=20=
=3D=20lflags,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20)=0D=0D=20=20=20=20wxpExtensions.append(ext)=0D=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#=20Define=20the=20GIZMOS=20=20extension=20module=0D=
#----------------------------------------------------------------------=0D=
=0Dif=20not=20GL_ONLY=20and=20BUILD_GIZMOS:=0D=20=20=20=20msg('Preparing=20=
GIZMOS...')=0D=20=20=20=20location=20=3D=20'contrib/gizmos'=0D=20=20=20=20=
GIZMOLOC=20=3D=20opj(location,=20'contrib/src/gizmos')=0D=20=20=20=20=
GIZMOINC=20=3D=20opj(location,=20'contrib/include')=0D=0D=20=20=20=20=
swig_files=20=3D=20['gizmos.i']=0D=0D=20=20=20=20swig_sources=20=3D=20=
run_swig(swig_files,=20location,=20'',=20PKGDIR,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20USE_SWIG,=20=
swig_force,=20swig_args,=20swig_deps)=0D=0D=20=20=20=20gizmos_includes=20=
=3D=20includes[:]=0D=20=20=20=20gizmos_includes.append(GIZMOINC)=0D=0D=0D=
=20=20=20=20#=20make=20sure=20local=20copy=20of=20contrib=20files=20are=20=
up=20to=20date=0D=20=20=20=20if=20IN_CVS_TREE:=0D=20=20=20=20=20=20=20=20=
contrib_copy_tree(opj(CTRB_INC,=20'gizmos'),=20opj(GIZMOINC,=20=
'wx/gizmos'))=0D=20=20=20=20=20=20=20=20contrib_copy_tree(opj(CTRB_SRC,=20=
'gizmos'),=20GIZMOLOC)=0D=0D=20=20=20=20ext=20=3D=20Extension('gizmosc',=20=
[=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20'%s/dynamicsash.cpp'=20%=20GIZMOLOC,=0D=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20'%s/editlbox.cpp'=20%=20GIZMOLOC,=0D=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
#'%s/multicell.cpp'=20%=20GIZMOLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/splittree.cpp'=20%=20GIZMOLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/ledctrl.cpp'=20=20=20%=20GIZMOLOC,=0D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20]=20+=20=
swig_sources,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20include_dirs=20=3D=20=20gizmos_includes,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20define_macros=20=3D=20defines,=0D=0D=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20library_dirs=20=
=3D=20libdirs,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20libraries=20=3D=20libs,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20extra_compile_args=20=3D=20cflags,=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20extra_link_args=20=3D=20=
lflags,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20)=0D=
=0D=20=20=20=20wxpExtensions.append(ext)=0D=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#=20Define=20the=20DLLWIDGET=20=20extension=20module=0D=
#----------------------------------------------------------------------=0D=
=0Dif=20not=20GL_ONLY=20and=20BUILD_DLLWIDGET:=0D=20=20=20=20=
msg('Preparing=20DLLWIDGET...')=0D=20=20=20=20location=20=3D=20=
'contrib/dllwidget'=0D=20=20=20=20swig_files=20=3D=20['dllwidget_.i']=0D=0D=
=20=20=20=20swig_sources=20=3D=20run_swig(swig_files,=20location,=20'',=20=
PKGDIR,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20USE_SWIG,=20swig_force,=20swig_args,=20swig_deps)=0D=
=0D=20=20=20=20#=20copy=20a=20contrib=20project=20specific=20py=20module=20=
to=20the=20main=20package=20dir=0D=20=20=20=20copy_file(opj(location,=20=
'dllwidget.py'),=20PKGDIR,=20update=3D1,=20verbose=3D0)=0D=0D=20=20=20=20=
ext=20=3D=20Extension('dllwidget_c',=20[=0D=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
'%s/dllwidget.cpp'=20%=20location,=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20]=20+=20swig_sources,=0D=
=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
include_dirs=20=3D=20=20includes,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20define_macros=20=3D=20defines,=0D=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20library_dirs=20=3D=20libdirs,=0D=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20libraries=20=
=3D=20libs,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20extra_compile_args=20=3D=20cflags,=0D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20extra_link_args=20=3D=20lflags,=0D=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20)=0D=0D=20=20=20=20=
wxpExtensions.append(ext)=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#=20Tools=20and=20scripts=0D=
#----------------------------------------------------------------------=0D=
=0D##=20TOOLS=20=3D=20[("wxPython/tools",=20=20=20=20=20=20=20=20=
glob.glob("tools/*.py")),=0D##=20=20=20=20=20=20=20=20=20=20=
("wxPython/tools/XRCed",=20=20glob.glob("tools/XRCed/*.py")=20+=0D##=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20glob.glob("tools/XRCed/*.xrc")=20+=0D##=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20["tools/XRCed/CHANGES",=0D##=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20"tools/XRCed/TODO",=0D##=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
"tools/XRCed/README"]),=0D##=20=20=20=20=20=20=20=20=20=20]=0D=0D=0Dif=20=
NO_SCRIPTS:=0D=20=20=20=20SCRIPTS=20=3D=20None=0Delse:=0D=20=20=20=20=
SCRIPTS=20=3D=20[opj(os.path.join('scripts',=20'img2png')),=0D=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20opj(os.path.join('scripts','img2xpm')),=0D=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
opj(os.path.join('scripts','img2py')),=0D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20opj(os.path.join('scripts','xrced')),=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20opj(os.path.join('scripts',=20'pyshell')),=0D=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=
opj(os.path.join('scripts','pycrust')),=0D=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20]=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#=20Do=20the=20Setup/Build/Install/Whatever=0D=
#----------------------------------------------------------------------=0D=
=0Dif=20__name__=20=3D=3D=20"__main__":=0D=20=20=20=20if=20not=20=
GL_ONLY:=0D=20=20=20=20=20=20=20=20setup(name=20=20=20=20=20=20=20=20=20=20=
=20=20=20=3D=20PKGDIR,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
version=20=20=20=20=20=20=20=20=20=20=3D=20VERSION,=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20description=20=20=20=20=20=20=3D=20DESCRIPTION,=0D=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20long_description=20=3D=20=
LONG_DESCRIPTION,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20author=20=20=
=20=20=20=20=20=20=20=20=20=3D=20AUTHOR,=0D=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20author_email=20=20=20=20=20=3D=20AUTHOR_EMAIL,=0D=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20url=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=3D=20URL,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20license=20=20=20=20=
=20=20=20=20=20=20=3D=20LICENSE,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20packages=20=3D=20[PKGDIR,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20PKGDIR+'.lib',=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
PKGDIR+'.lib.editor',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20PKGDIR+'.lib.mixins',=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
PKGDIR+'.lib.PyCrust',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20PKGDIR+'.tools',=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
PKGDIR+'.tools.XRCed',=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20],=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20ext_package=20=3D=20PKGDIR,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20ext_modules=20=3D=20wxpExtensions,=0D=0D=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20options=20=3D=20{=20'build'=20:=20{=20'build_base'=20:=20=
BUILD_BASE=20}})=0D=0D=20=20=20=20else:=0D=0D=20=20=20=20=20=20=20=20=
setup(name=20=20=20=20=20=20=20=20=20=20=20=20=20=3D=20"wxPython-gl",=0D=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20version=20=20=20=20=20=20=20=20=20=
=20=3D=20VERSION,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
description=20=20=20=20=20=20=3D=20"wxGLCanvas=20class=20for=20=
wxPython",=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20author=20=20=20=20=
=20=20=20=20=20=20=20=3D=20AUTHOR,=0D=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20author_email=20=20=20=20=20=3D=20AUTHOR_EMAIL,=0D=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20url=20=20=20=20=20=20=20=20=20=20=20=20=20=20=3D=20=
URL,=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20license=20=20=20=20=20=20=
=20=20=20=20=3D=20LICENSE,=0D=0D=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
py_modules=20=3D=20[=20"wxPython.glcanvas"=20],=0D=0D=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20ext_package=20=3D=20PKGDIR,=0D=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20ext_modules=20=3D=20wxpExtensions,=0D=0D=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20)=0D=0D=0D=0D=0D=
#----------------------------------------------------------------------=0D=
#----------------------------------------------------------------------=0D=

--Apple-Mail-38-559729230--

--Apple-Mail-37-559729229--