On Thu, Aug 13, 2009 at 1:33 AM, Fernando Perez<[email protected]> wrote: > Hi Dag, > > On Thu, Aug 13, 2009 at 12:44 AM, Dag Sverre > Seljebotn<[email protected]> wrote: >> Hi cython-dev, >> >> Fernando Perez wrote: >>> >>> Hi Dag, >>> >>> Dave Cournapeau kindly made for us win32 installers of the newest >>> cython, since you guys don't have them on your site: >>> >>> https://cirl.berkeley.edu/fperez/tmp/Cython-0.11.2.win32-py2.5.exe >>> https://cirl.berkeley.edu/fperez/tmp/Cython-0.11.2.win32-py2.6.exe >> >> Great, thanks! >> >> Is there somebody on the list who could more easily than myself give these a >> test ride? >> >> (In addition to running the installer, a C compiler must be set up properly, >> see >> >> wiki.cython.org/Installation >> >> and the link to Windows installation there. An alternative to creating >> distutils.cfg (for mingw) is to pass "-c mingw" to setup.py.) > > I just tested this on top of a bare EPD install, and once I commented > out the old cython egg path from the easy-install.pth file, it worked > just fine. So tomorrow I'll publicize it to the attendees. > >> I'll take this opportunity to come with a request: If somebody with easy >> access to Windows would like to be responsible for Windows packaging of >> Cython that would be great (as none of the core devs run Windows) -- it >> seems that David Cournapeau has already done the dirty work, so that it >> would likely just be about running his scripts for every Cython release and >> test that things work properly. > > By the way, David did this on a wine setup he has on his Mac laptop in > just a couple of minutes! So it seems that once you have the right > setup, it's not a huge deal.
It is quite easy to set up: you can install wine for mac os x (darwine), install python + mingw into wine, and that's it. I have for example an alist winepy="WINEPATH $HOME/.wine/drive_c/Python25/python.exe", and then making the binary is just an issue of: winepy setup.py bdist_wininst Numpy and scipy binaries are actually entirely built under wine as well nowadays, it is a viable alternative to the endless windows pain. David _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
