Discussion:
buildersoyapy25 UP-TO-DATE
Thy
2012-11-22 21:25:15 UTC
Permalink
*GCC as been a problem with terrain-1.py in tutorial.

Composition:*

python-2.5.4.msi

Pyrex-0.9.9.win32.exe,

buildersoyapy25
dlls-soyapy25, soyarev564, soyarev564hacked, gcc
*
**Install:
* -python-2.5.4.msi
<http://www.python.org/ftp/python/2.5.4/python-2.5.4.msi>
-Pyrex-0.9.9.win32.exe
<http://brl.thefreecat.org/python-pyrex/Pyrex-0.9.9.win32.exe>
-extract buildersoyapy25
<https://dl.dropbox.com/u/55785694/buildersoyapy25.zip> in C:\ "anywhere
is ok but change path in setup.bat in this case"
-Here you are ready to run C:\buildersoyapy25\soyarev564hacked\setup.bat

*Composition of buildersoyapy25.**zip:

* buildersoyapy25/
gcc/

soyarev564/

soyarev564hacked/

dllsoyapy25/
soya/
build/
lib.win32-2.5/
soya/
dll: "dlls to place in
soya\build\lib.win32-2.5\soya\ after first run setup.bat (run1)"

*Configuration:
*
C:/

buildersoyapy25/
gcc/
dlls-soyapy25/
soyarev564hacked/
soya/
setup.bat: "ready to run with gcc by cliclic on setup.bat"


soyarev564/
soya/
base.pyx: line 119: d = getattr(self, "__dict__", None)
-> d = getattr(self, "__dict__")#, None)
_soya.c: "remove it before new tests to be sure"
setup.bat: "you can see at
soya/build/lib.win32-2.5/soya/ if dlls are in before run2"
setup.py: "see explanation setup.py
_soya.pyx: line 86: #include shader/shader.pyx ->
include model/shader.pyx
setup.cfg: "see explanation setup.cfg:

build/ "after running setup.bat (run1)"
lib.win32-2.5/
soya/
dlls: "place dlls here from dlls-soyapy25,
see here before running bdist_wininst(run2)"

dist/ "after running setup.bat (run2)"
Soya-0.15rc1.win32-py2.5.exe: "terminus"


Python25/
lib/
site-packages/
soya/
dlls: "dlls terminus after running
Soya-0.15rc1.win32-py2.5.exe"
...



*Explanations:*

_explanation_ setup.bat:

set PATH=C:\buildersoyapy25\gcc\bin
::"/run1/"
C:\Python25\python.exe setup.py build --compiler=mingw32
pause
::"/run2/, /see if dlls are in soya/build/lib.win32-2.5/soya/
//before//run2/"
C:\Python25\python.exe setup.py bdist_wininst
pause


_explanation_ base.pyx:

119c119
< d = getattr(self, "__dict__", None)
---
d = getattr(self, "__dict__") #, None)
_explanation_ _soya.pyx:

86c86
< #include "shader/shader.pyx"
---
include "model/shader.pyx"
_explanation_ setup.py:

131c131
< LIBS = ["m", "glew32", "SDL", "SDL_mixer", "freetype", "cal3d",
"stdc++", "ode"]
---
LIBS = ["m", "glew32", "SDL", "SDL_mixer", "freetype", "cal3d",
"stdc++", "ode", "opengl32", "glu32"]

136c136
< SOYA_PYREX_SOURCES = ["soya._soya.pyx", "matrix.c", "chunk.c"]
---
SOYA_PYREX_SOURCES = ["_soya.pyx", "matrix.c", "chunk.c"]
193a194,195
LIBS.append("openal32")
245c247
< soya_pyx_mtime=os.path.getmtime('soya._soya.pyx')
---
soya_pyx_mtime=os.path.getmtime('_soya.pyx')
248c250
< os.utime('soya._soya.pyx',None)
---
os.utime('_soya.pyx',None)
_explanation_ setup.cfg:

8a9,11
[build]
compiler = mingw32
Loading...