summaryrefslogtreecommitdiff
path: root/devel/py-ode/files/patch-setup.py
blob: defcac1f7688e005f3cbbe46dbb7a3d20f312f79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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",