3 1. Python 2.4 or higher (http://www.python.org/)
\r
4 - Tested with Python 2.7 (2.6 on earlier builds)
\r
5 2. Cython 0.14.1** or higher (http://cython.org/)
\r
6 - Tested with Cython 0.15 (0.14.1 on earlier builds)
\r
7 3. ODE shared*** library (or static with -fPIC)
\r
8 - See the notes on building ODE below.
\r
9 4. pkg-config (http://www.freedesktop.org/wiki/Software/pkg-config)
\r
10 - Windows executable (and GLib dependency) can be downloaded from
\r
11 http://www.gtk.org/download/win32.php
\r
12 - If you used premake to configure ODE, you may need to create an ode.pc file
\r
13 in your PKG_CONFIG_PATH manually. See <ODE_DIR>/ode.pc.in
\r
19 On certain systems (*nix) there is a requirement that a shared library
\r
20 (such as the python module) contains only position-independent code
\r
21 (PIC). In those cases, ODE needs to be either compiled as a shared library
\r
22 too (--enable-shared), or as a static library with PIC (-fPIC).
\r
24 Once ODE is built and installed in your desired destination, proceed with
\r
25 building the wrapper.
\r
29 3a. BUILDING WITH Visual Studio (Windows)
\r
31 python setup.py build_ext
\r
34 3b. BUILDING WITH MINGW (Windows)
\r
36 python setup.py build_ext -c mingw32
\r
39 3c. BUILDING WITH GCC/G++ (Linux, OS X, etc.)
\r
41 python setup.py build_ext
\r
47 4a. For system-wide installation (needs administrator privileges):
\r
49 python setup.py install
\r
51 4b. For user installation:
\r
53 python setup.py install --user
\r
57 5. DEMOS and DOCUMENTATION
\r
59 Try running the tutorials in the 'demos' directory. The tutorials were taken
\r
60 from the PyODE website (http://pyode.sourceforge.net/).
\r
62 For usage documentation, please refer to the PyODE API documentation at
\r
63 http://pyode.sourceforge.net/api-1.2.0/index.html.
\r