[BRLTTY] Compiling in windows : Cython Not Found
Siju Samuel
sijusamueltech at gmail.com
Wed Jun 11 11:20:17 EDT 2014
Hi dave,
I am trying to get brlapi.pyd in windows-mingw32. Can I use the above
script in windows?
Also, how can I get an cython.exe ; as could not easily get any
reference.
In my system I also see
C:\Python27\Scripts
cython.py (python file, not an exe) which is attached.
Here my intention is just to get the brlapi.pyd for the downloaded BRLTTY
code I have.
Thanks,
siju samuel
On Tue, Jun 10, 2014 at 7:50 PM, Dave Mielke <dave at mielke.cc> wrote:
> [quoted lines by Siju Samuel on 2014/06/10 at 18:42 -0500]
>
> >In my system, 'cython' as a command it not recognizable. Is it
> supposed
> >to be?
>
> We look for cython as a command, yes. I just checked the cython command,
> and
> discovered that it's really a very simple Python script. Maybe some
> platforms
> add this script and some don't. For your interest (and possible use), I've
> attached it to this message. I'm now wondering if we should perhaps be
> invoking
> cython directly instead of via the script.
>
> --
> Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of
> God.
> Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/
> EMail: dave at mielke.cc | Canada K2A 1H7 | http://FamilyRadio.com/
>
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at mielke.cc
> For general information, go to: http://mielke.cc/mailman/listinfo/brltty
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mielke.cc/pipermail/brltty/attachments/20140611/4b5e8173/attachment.html>
-------------- next part --------------
#!C:\Python27\python.exe
#
# Cython -- Main Program, generic
#
if __name__ == '__main__':
import os
import sys
# Make sure we import the right Cython
cythonpath, _ = os.path.split(os.path.realpath(__file__))
sys.path.insert(0, cythonpath)
from Cython.Compiler.Main import main
main(command_line = 1)
else:
# Void cython.* directives.
from Cython.Shadow import *
## and bring in the __version__
from Cython import __version__
More information about the BRLTTY
mailing list