Professional Documents
Culture Documents
5 from Source
===================================
This document will describe the few differences and additions to the
content in the BUILD_ document for installing wxPython built from
source. Please follow the intstructions both in this file and in
BUILD_ to perform this task. Where there is overlap the items
described here will take precedence for doing installations.
.. _BUILD: BUILD.html
2. If you do decide to build and install your own wxWidgets then there
are a few tweaks to the configure flags described in BUILD.txt that
you will probably want to make. Instead of --enable-debug use
this configure flag::
--enable-optimize \
--enable-debug_flag \
--enable-rpath=/opt/wx/2.5/lib \
If you would like to install to some place besides the prefix where
Python is installed, (such as to your home directory) then you can
add "--root=<path>" after the "install" command. This will use
<path> as the prefix and will install scripts to a bin subdir and
the wxPython packages to a lib subdir. To use wxPython like this
you'll need to ensure that the directory containing wxPython is
contained in the PYTHONPATH environment variable.
Installing on OS X
------------------
Installing on Windows
---------------------