Doc tweaks, double the backslashes so they convert properly with ReST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -42,6 +42,16 @@ the wxPythonSrc tarball to. You can either substitute the $WXDIR text
|
|||||||
below with your actual dir, or set the value in the environment and
|
below with your actual dir, or set the value in the environment and
|
||||||
use it just like you see it below.
|
use it just like you see it below.
|
||||||
|
|
||||||
|
If you run into what appears to be compatibility issues between
|
||||||
|
wxWidgets and wxPython while building wxPython, be sure you are using
|
||||||
|
the wxWidgets sources included with the wxPythonSrc tarball or the CVS
|
||||||
|
snapshot, and not a previously installed version or a version
|
||||||
|
installed from one of the standard wxWidgets installers. With the
|
||||||
|
"unstable" releases (have a odd-numbered minor release value, where
|
||||||
|
the APIs are allowed to change) there are often significant
|
||||||
|
differences between the W.X.Y release of wxWidgets and the W.X.Y.Z
|
||||||
|
release of wxPython.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Building on Unix-like Systems (e.g. Linux and OS X)
|
Building on Unix-like Systems (e.g. Linux and OS X)
|
||||||
@@ -241,7 +251,7 @@ to use my scripts you'll need to get a copy or 4DOS or 4NT from
|
|||||||
http://www.jpsoft.com/ and also a copy of unix-like cat and sed
|
http://www.jpsoft.com/ and also a copy of unix-like cat and sed
|
||||||
programs. You can also do by hand what my scripts are doing, but
|
programs. You can also do by hand what my scripts are doing, but
|
||||||
there are alot of steps involved and I won't be going into details
|
there are alot of steps involved and I won't be going into details
|
||||||
here. There is a copy of my build scripts in %WXDIR%\wxPython\distrib\msw
|
here. There is a copy of my build scripts in %WXDIR%\\wxPython\\distrib\\msw
|
||||||
that you can use for reference (if you don't use them directly) for
|
that you can use for reference (if you don't use them directly) for
|
||||||
adapting these instructions to your specific needs. The directions
|
adapting these instructions to your specific needs. The directions
|
||||||
below assume that you are using my scripts.
|
below assume that you are using my scripts.
|
||||||
@@ -252,13 +262,13 @@ below assume that you are using my scripts.
|
|||||||
|
|
||||||
set WXWIN=%WXDIR%
|
set WXWIN=%WXDIR%
|
||||||
|
|
||||||
2. Copy setup0.h to setup.h
|
2. Copy setup0.h to setup.h::
|
||||||
|
|
||||||
cd %WXDIR%\include\wx\msw
|
cd %WXDIR%\include\wx\msw
|
||||||
copy setup0.h setup.h
|
copy setup0.h setup.h
|
||||||
|
|
||||||
|
|
||||||
3. Edit %WXDIR%\include\wx\msw\setup.h and change a few settings.
|
3. Edit %WXDIR%\\include\\wx\\msw\\setup.h and change a few settings.
|
||||||
Some of them are changed by my build scripts depending on the type
|
Some of them are changed by my build scripts depending on the type
|
||||||
of build (debug/hybrid, unicode/ansi). I change a few of the other
|
of build (debug/hybrid, unicode/ansi). I change a few of the other
|
||||||
defaults to have these values::
|
defaults to have these values::
|
||||||
@@ -273,13 +283,13 @@ below assume that you are using my scripts.
|
|||||||
wxUSE_DISPLAY 1
|
wxUSE_DISPLAY 1
|
||||||
|
|
||||||
|
|
||||||
4. Make sure that %WXDIR%\lib\vc_dll directory is on the PATH. The
|
4. Make sure that %WXDIR%\\lib\\vc_dll directory is on the PATH. The
|
||||||
wxWidgets DLLs will end up there as part of the build and so you'll
|
wxWidgets DLLs will end up there as part of the build and so you'll
|
||||||
need it on the PATH for them to be found at runtime.
|
need it on the PATH for them to be found at runtime.
|
||||||
|
|
||||||
|
|
||||||
5. Change to the %WXDIR%\build\msw directory and copy my build scripts
|
5. Change to the %WXDIR%\\build\\msw directory and copy my build scripts
|
||||||
there from their default location in %WXDIR%\wxPython\distrib\msw
|
there from their default location in %WXDIR%\\wxPython\\distrib\\msw
|
||||||
if they are not present already.
|
if they are not present already.
|
||||||
|
|
||||||
|
|
||||||
@@ -306,9 +316,8 @@ below assume that you are using my scripts.
|
|||||||
|
|
||||||
|
|
||||||
7. When that is done it will have built the main wxWidgets DLLs and
|
7. When that is done it will have built the main wxWidgets DLLs and
|
||||||
also some of the contribs DLLs. There should be a ton of DLLs in
|
also some of the contribs DLLs. There should be a ton of DLLs and
|
||||||
%WXDIR%\bin and lots of lib files and other stuff in
|
lots of lib files and other stuff in %WXDIR%\\lib\\vc_dll.
|
||||||
%WXDIR%\lib\vc_dll.
|
|
||||||
|
|
||||||
|
|
||||||
8. Building wxPython on Windows is very similar to doing it for the
|
8. Building wxPython on Windows is very similar to doing it for the
|
||||||
@@ -319,7 +328,7 @@ below assume that you are using my scripts.
|
|||||||
version the rest of the time. If you ever do want to install the
|
version the rest of the time. If you ever do want to install the
|
||||||
development verison please refer to INSTALL.txt.
|
development verison please refer to INSTALL.txt.
|
||||||
|
|
||||||
Change to the %WXDIR%\wxPython dir and run the this command,
|
Change to the %WXDIR%\\wxPython dir and run the this command,
|
||||||
makeing sure that you use the version of python that you want to
|
makeing sure that you use the version of python that you want to
|
||||||
build for (if you have more than one on your system)::
|
build for (if you have more than one on your system)::
|
||||||
|
|
||||||
|
@@ -101,8 +101,8 @@ instructions above, except for a few small, but important details:
|
|||||||
Python Framework will then be installed in /Library/Frameworks. On
|
Python Framework will then be installed in /Library/Frameworks. On
|
||||||
10.3 (Panther) Apple supplies the Python Framework as part of the
|
10.3 (Panther) Apple supplies the Python Framework as part of the
|
||||||
OS install, but it will be located in /System/Library/Frameworks
|
OS install, but it will be located in /System/Library/Frameworks
|
||||||
instead. However, on Panther the site-pacakges dir is sym-linked
|
instead. However, on Panther the site-packages dir is sym-linked
|
||||||
to /Library/Python/2.3 so the wxPython pacakges will end up there,
|
to /Library/Python/2.3 so the wxPython packages will end up there,
|
||||||
although they will still be visible from site-packages. If you are
|
although they will still be visible from site-packages. If you are
|
||||||
building distributions of wxPython to be installed on other
|
building distributions of wxPython to be installed on other
|
||||||
machines be careful to install to /Library/Python/2.3. To
|
machines be careful to install to /Library/Python/2.3. To
|
||||||
@@ -127,7 +127,8 @@ Installing on Windows
|
|||||||
"hybrid" when building wxWidgets and add "FINAL=1" to the setup.py
|
"hybrid" when building wxWidgets and add "FINAL=1" to the setup.py
|
||||||
command line.
|
command line.
|
||||||
|
|
||||||
2. Install wxPython like this::
|
2. Install wxPython like this. Remember to add any additional flags
|
||||||
|
you added for the build such as UNICODE or USE_SWIG::
|
||||||
|
|
||||||
python setup.py install
|
python setup.py install
|
||||||
|
|
||||||
@@ -136,6 +137,6 @@ Installing on Windows
|
|||||||
found at runtime by the extension modules without requiring that
|
found at runtime by the extension modules without requiring that
|
||||||
they be installed on the PATH::
|
they be installed on the PATH::
|
||||||
|
|
||||||
copy %WXWIN%\lib\vc_dll\wx*h_*.dll c:\Python23\Lib\site-pacakges\wx
|
copy %WXWIN%\lib\vc_dll\wx*h_*.dll c:\Python23\Lib\site-packages\wx
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user