From: Matthias B. <ba...@ir...> - 2005-08-04 14:27:38
|
Paul Kinnane wrote: > 1) Download ODE source. If you are using MSVC, open the ODE > workspace, and in the Project Settings for ODE, change “Use run-time > library” to Multithreaded (from Multithreaded DLL). Also with MSVC, > copy the appropriate config from the the _configs directory into the > include\ode directory (and rename that file to config.h). Compile. Or alternatively, download one of the the ODE binaries. That's what's used in the official PyODE Windows binaries. :) > 4) Because for some reason Python .py file will not run from a DOS > cmd line on my system, I also changed the “cmd = “ line in setup.py to: > cmd = "\"\Program Files\Python22\python\" > ..\pyrex-0.9.3\pyrexc.py -o ode.c -I. -Isrc src/ode.pyx" The Python installer doesn't modify the PATH variable, so you have to do that yourself (I recommend to add both paths, the Python root and the Scripts directory). Then the above shouldn't be necessary anymore. You might also want to add the .py suffix to the PATHEXT environment variable so that you can invoke Python scripts without the .py extension. - Matthias - |