*Composition:*

python-2.5.4.msi

Pyrex-0.9.9.win32.exe,

tdm-mingw-1.908.0-4.4.1-2.exe
 * gcc (TDM Unstable: 4.4.1-tdm-2)
 * binutils (binutils-2.19.1-mingw32-bin.tar.gz)
* mingw-runtime (mingwrt-3.16-mingw32-dev.tar.gz, mingwrt-3.16-mingw32-dll.tar.gz)
 * w32api (w32api-3.13-mingw32-dev.tar.gz)
  mingw32-make (mingw32-make-3.81-20080326-3.tar.gz)
  l gdb (gdb-6.8-mingw-3.tar.bz2)

buildersoyapy25
addongccsoyapy25, soyarev564, soyarev564hacked,
*
**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:\ -After launching "tdm-mingw-1.908.0-4.4.1-2.exe <http://code.google.com/p/gcc-offline/downloads/detail?name=tdm-mingw-1.908.0-4.4.1-2.exe&can=2&q=>":
-uncheck for update (bottom left)
-clic Create:
-for Installation Directory type path: C:\buildersoyapy25\gcc instead of C:\MinGW
-clic Next >
-uncheck for: ming32-make, gdb, Add to PATH
-clic Install
-copy addongccsoyapy25\gcc to C:\buildersoyapy25\
-Here you are ready to run C:\buildersoyapy25\soyarev564hacked\setup.bat

*Composition of buildersoyapy25.**zip:

* buildersoyapy25/

    soyarev564/

    soyarev564hacked/

    addongccsoyapy25/
        gcc/ " to add to gcc"
            include/
            lib/

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

*Configuration:
*
C:/

    buildersoyapy25/
        gcc/ "add include/ and lib/ from addongccsoyapy25"
            include/
            lib/

        soyarev564hacked/
            soya/
                setup.bat: "ready to run with gcc by cliclic on setup.bat"
                        "don't forget to install addongccsoapy25 for gcc!"

        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/
                    lib.win32-2.5/
                        soya/
dlls: "place dlls here from addongccsoyapy25, see here before running bdist_wininst(run2)"

                dist/
                    Soya-0.15rc1.win32-py2.5.exe "terminus"


    Python25/
        lib/
            site-packages/
                soya/
                    dlls: "dlls terminus"



*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
> if sys.platform[:3] == "win":
> 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



_______________________________________________
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user

Reply via email to