Hey Christoph,
2011/1/12 Christoph Gohlke <cgohlke(a)uci.edu>:
> This subprocess call works for me on Windows:
> status = subprocess.call([sys.executable,
> os.path.join(os.path.dirname(sys.executable), 'Scripts', 'cython.py') ,
> '-o', c_file_new, pyxfile])
I'll add that in - thanks!
> The scikits.image cython code fails to build with the latest Cython version
> because it uses several deprecated modules, e.g.:
>
> from python cimport *
> from stdlib cimport …
[View More]*
>
> I think these things moved to cpython and libc.
I thought I changed most of these; where did you find those?
> Another issue on Windows is that the name of the freeimage library is
> FreeImage.dll, not libfreeimage.dll.
>
> Hope this helps.
Very much, thank you!
Cheers
Stéfan
[View Less]
[Moved conversation to mailing list]
Hey, guys
I guess we don't have many Windows developers or users (since there
haven't been any bug reports regarding this build problem so far!).
The scikit should work perfectly well under Windows, but clearly we'll
have to adjust the Cython builder. Christoph, do you know of a way to
programmatically call Cython, instead of running the executable?
Regards
Stéfan
2011/1/12 Johannes Radinger <JRadinger(a)gmx.at>:
[...]
> and here is what …
[View More]Christoph Gohlke from the cython(windows implementation)
> team answered:
>
> Hi,
>
> recent versions of scikit.image do not work well on Windows. I guess all
> development is done on Unix compatible systems.
>
> The cython for Windows installers do not include a executable named
> 'cython'. There is a cython.py script in the Python\Scripts folder. You can
> make a cython.cmd file containing '''C:\Python26\python.exe -c "from
> Cython.Compiler.Main import main; main(command_line = 1)" %*''' and put it
> in the Windows search path. That might work for scikit.image. If not, just
> use that script to manually cythonize the scikit source and remove the
> cython calls from the setup.py files.
>
> You will probably need to adjust more things, e.g. library names, to make
> scikit.image work on Windows.
>
> Christoph
[View Less]