diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-01-28 00:29:25 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-01-28 00:29:25 +0000 |
commit | d575d5a41939a3fc09d4ab59accd0c5fd5f2783d (patch) | |
tree | e3b3ad5bcefb20851e2a104eb7978e6819a77158 /devel/py-ode/files/patch-setup.py | |
parent | File::Tempdir is a Perl5 module which provides an object interface to (diff) |
PyODE is a set of open-source Python bindings for The Open Dynamics
Engine, an open-source physics engine. PyODE also includes an XODE
parser. Like ODE, PyODE may be distributed under the terms of either
the GNU Lesser General Public License or a BSD-style license.
WWW: http://pyode.sourceforge.net
PR: ports/108411
Submitted by: Dmitry Marakasov <amdmi3 at amdmi3.ru>
Notes
Notes:
svn path=/head/; revision=183483
Diffstat (limited to 'devel/py-ode/files/patch-setup.py')
-rw-r--r-- | devel/py-ode/files/patch-setup.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/py-ode/files/patch-setup.py b/devel/py-ode/files/patch-setup.py new file mode 100644 index 000000000000..defcac1f7688 --- /dev/null +++ b/devel/py-ode/files/patch-setup.py @@ -0,0 +1,27 @@ +--- setup.py.orig Thu Jul 7 15:36:03 2005 ++++ setup.py Fri Jan 26 22:54:51 2007 +@@ -150,22 +150,11 @@ + script so that it points to the actual location of the ODE directory."""%ODE_BASE + sys.exit() + +-config = readODEConfig() +- + generate('ode_trimesh.c', True) + generate('ode_notrimesh.c', False) + +-try: +- wrap_trimesh = TRIMESH_SUPPORT_OVERRIDE +-except NameError, e: +- wrap_trimesh = config.get('OPCODE_DIRECTORY', '') +- +-if (wrap_trimesh): +- print "Installing with trimesh support." +- install = 'ode_trimesh.c' +-else: +- print "Installing without trimesh support." +- install = 'ode_notrimesh.c' ++print "Installing without trimesh support." ++install = 'ode_notrimesh.c' + + # Compile the module + setup(name = "PyODE", |