From c5fc66ee58f2c60f2d226868bb1cf5b91badaf53 Mon Sep 17 00:00:00 2001 From: sanine Date: Sat, 1 Oct 2022 20:59:36 -0500 Subject: add ode --- libs/ode-0.16.1/bindings/python/INSTALL.txt | 64 +++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 libs/ode-0.16.1/bindings/python/INSTALL.txt (limited to 'libs/ode-0.16.1/bindings/python/INSTALL.txt') diff --git a/libs/ode-0.16.1/bindings/python/INSTALL.txt b/libs/ode-0.16.1/bindings/python/INSTALL.txt new file mode 100644 index 0000000..a0ae378 --- /dev/null +++ b/libs/ode-0.16.1/bindings/python/INSTALL.txt @@ -0,0 +1,64 @@ +1. REQUIREMENTS: + +1. Python 2.4 or higher (http://www.python.org/) + - Tested with Python 2.7 (2.6 on earlier builds) +2. Cython 0.14.1** or higher (http://cython.org/) + - Tested with Cython 0.15 (0.14.1 on earlier builds) +3. ODE shared*** library (or static with -fPIC) + - See the notes on building ODE below. +4. pkg-config (http://www.freedesktop.org/wiki/Software/pkg-config) + - Windows executable (and GLib dependency) can be downloaded from + http://www.gtk.org/download/win32.php + - If you used premake to configure ODE, you may need to create an ode.pc file + in your PKG_CONFIG_PATH manually. See /ode.pc.in + + + +2. BUILDING ODE + + On certain systems (*nix) there is a requirement that a shared library + (such as the python module) contains only position-independent code + (PIC). In those cases, ODE needs to be either compiled as a shared library + too (--enable-shared), or as a static library with PIC (-fPIC). + + Once ODE is built and installed in your desired destination, proceed with + building the wrapper. + + + +3a. BUILDING WITH Visual Studio (Windows) + + python setup.py build_ext + + +3b. BUILDING WITH MINGW (Windows) + + python setup.py build_ext -c mingw32 + + +3c. BUILDING WITH GCC/G++ (Linux, OS X, etc.) + + python setup.py build_ext + + + +4. INSTALLATION + +4a. For system-wide installation (needs administrator privileges): + + python setup.py install + +4b. For user installation: + + python setup.py install --user + + + +5. DEMOS and DOCUMENTATION + + Try running the tutorials in the 'demos' directory. The tutorials were taken + from the PyODE website (http://pyode.sourceforge.net/). + + For usage documentation, please refer to the PyODE API documentation at + http://pyode.sourceforge.net/api-1.2.0/index.html. + -- cgit v1.2.1