Just an update: I did commit an update of PyHLA that should be able to compile
with all Pythons> 2.5, including 3.x. However, I didn't have time (yet) to
test it thoroughly, so it might not work properly (for now).
Petr
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Charles
Lesire-Cabaniols
Sent: 15. června 2011 9:53
To: address@hidden
Subject: Re: [certi-dev] PyHLA compliant with python 3+
On 15/06/2011 09:48, Gotthard, Petr wrote:
Hi Charles,
I will do it. I already started and the biggest issue seems to be keeping
compatibility with python 2.x, so it will take me few days.
Ok, great news! Thanks Petr.
I had a quick look at it, and most problems seem to come from the C
code. Then using
#if PY_MAJOR_VERSION>= 3
... code for python3 ...
#else
... code for python2 ...
#endif
should solve the compatibility issue in C files.
Will you be able to compile it yourself, or will you need a binary package?
I compile it myself from sources.
Petr
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Charles
Lesire-Cabaniols
Sent: 14. června 2011 18:09
To: CERTI Devel mailing list
Subject: [certi-dev] PyHLA compliant with python 3+
Hi,
I am involved in the development of a robotic simulator, Morse
(http://www.openrobots.org/wiki/morse/).
I want to provide a distributed simulation framework for Morse, based on
the CERTI.
Morse is built over Blender, mostly through python scripts.
Last versions of Blender use python3, and I then need a python3
compliant HLA library.
Unfortunately, PyHLA does not compile towards python3.1.
Has anyone already tried to port PyHLA to python3?
Does anyone want to help/contribute?
Best,
Charles.