Ciao Paoletta, certo!
Una volta compilato wxPython e una volta che siamo sicuri che
wx-config sia nel PATH, dobbiamo procedere come segue:
$WXDIR è la directory con i
sorgenti (es. /usr/src/wxPython-2.6.3.2).
Se riteniamo necessario, modifichiamo il file
config.py.
# Config values below this point can be reset on the setup.py command line.
BUILD_GLCANVAS = 0 # If true, build the contrib/glcanvas extension module
BUILD_OGL = 0 # If true, build the contrib/ogl extension module
BUILD_STC = 1 # If true, build the contrib/stc extension module
BUILD_GIZMOS = 1 # Build a module for the gizmos contrib library
BUILD_ANIMATE = 1 # Build a module for the animate contrib library
BUILD_DLLWIDGET = 0# Build a module that enables unknown wx widgets
# to be loaded from a DLL and to be used from Python.
Una volta settati i valori che ci interessano, possiamo procedere con la compilazione:
E infine...
Per maggiori dettagli, puoi comunque visitare la documentazione ufficiale:
http://www.wxpython.org/BUILD.html
http://www.wxpython.org/INSTALL.html
Ciao.