You are not logged in.

#1 2004-11-22 22:17:12

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

[new] PyODE

pkgname=pyode
name=PyODE
pkgver=1.0.0
pkgrel=1
pkgdesc="python bindings for ODE."
depends=(pyrex ode)
url="http://pyode.sourceforge.net/"
source=(http://heanet.dl.sourceforge.net/sourceforge/pyode/$name-$pkgver.tar.bz2)
license="GPL or BSD"

build() {
  cd $startdir/src/$name-$pkgver
  sed -i 's|ODE_BASE = "../ode"|ODE_BASE = "/usr/"|g' $startdir/src/$name-$pkgver/setup.py
  sed -i 's|TRIMESH_SUPPORT = True|TRIMESH_SUPPORT = False|g' $startdir/src/$name-$pkgver/setup.py
 #python is soooo cool!
 python setup.py install --root=$startdir/pkg
}

no matter what I did I was getting and undefined symbol in ode.so (which is not true) at least nm ode.so | grep the name gave it to me with a U in the beggining which I don't know what it is wink

the things they say in

http://sourceforge.net/mailarchive/foru … m_id=38876 don't work for me. ODE is built without OPCODE, so setting TRIMESH to flase for pyode should make it work, but it doesn't.

for ode look here:
http://bbs.archlinux.org/viewtopic.php? … hlight=ode
and here:
http://bbs.archlinux.org/viewtopic.php?p=54121

hopefully a TU, neotuli, or another wise guy, will maintain both. well at least ODE! it's everywhere.. smile

btw PyODE has a pythonic API. hoorrrrrray!

Offline

#2 2004-11-22 22:35:10

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [new] PyODE

python setup.py scripts kick ass

Offline

Board footer

Powered by FluxBB