2012/9/25 Mark <
markper...@gmail.com>:
> Sorry for asking what may be a very simple (or even technically incorrect)
> question , but I am trying to get a little more information.
>
> I was hoping that WinPython could possibly make my entry to using Cython a
> little easier. I have not had much luck with Cython to date, and I know that
> I am likely missing something simple. So I have downloaded WinPython to try
> some things out and see if I can get Cython running under a more controlled
> setting.
>
> Does the distribution also contain all of the Python header files and code
> required by Cython for compilation of cPython functions into modules? And is
Yes for the 32-bit version of WinPython (MinGW32 with gcc is
included), and no for the 64-bit version (you will have to install
your own C compiler).
> there a specific approach that is recommended for using Cython from
> WinPython.
No, WinPython is really close to a standard Windows Python
installation. When running one of the launchers (.exe files at the
root directory), the environment is exactly the same as the one you
would have after installing Python with the official installer. So to
run scripts installed with WinPython (like Cython) from a command
window, you would have to run cmd.exe. But you can also run everything
from Spyder: you write your .pyx script and build it in a terminal
inside Spyder.
> Also, when poking around in the python-2.7.3\Scripts folder, I see numerous
> "*.bat" files that I don't have in my normal Python distribution. Is there
> any information available regarding what these are used for?
As I tried to explain in the readme.txt in that directory, these batch
scripts are indeed specific to WinPython and they are only there to
help the user eventually writing its own launchers. For example, the
script "scripts\spyder.bat" does (almost) exactly the same things as
the launcher "Spyder.exe". But none of this script is required for
using WinPython, these are extras.
> Sorry for cluttering the list with such basic questions, but thanks in
> advance for any information that anyone can provide.
No, problem.
-Pierre
> -Mark
>
> --
> You received this message because you are subscribed to the Google Groups
> "WinPython" group.
> To unsubscribe from this group, send email to
>
winpython+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>