1
Python / [Solved] cx_freeze pySFML compilation AttributeError, no attribute Rectangle
« on: June 30, 2013, 06:42:49 pm »
Hi everybody.
I used to work with pysfml-cython binding from Bastien Leonard, and it worked fine with cx_freeze compilation.
Today, I tried with the last PySFML official Jonathan De Wachter binding. It's a little bit different than Bastien Leonard's one and up to date.
I made a test with it and pymunk as physics engine.
And then, I juste tried to compile it with cx_freeze 4.3.1.
This is the error I got when I try to launch the executable.
And this is my setup.py :
http://pastebin.com/51L5PkX3
Thanks in advance !
PS : Sorry if I do some errors in English, I'm French.
I used to work with pysfml-cython binding from Bastien Leonard, and it worked fine with cx_freeze compilation.
Today, I tried with the last PySFML official Jonathan De Wachter binding. It's a little bit different than Bastien Leonard's one and up to date.
I made a test with it and pymunk as physics engine.
And then, I juste tried to compile it with cx_freeze 4.3.1.
This is the error I got when I try to launch the executable.
And this is my setup.py :
http://pastebin.com/51L5PkX3
Thanks in advance !
PS : Sorry if I do some errors in English, I'm French.