Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 22 lines (15 sloc) 0.407 kB
5173f9e @dagss Make cython.py executable and add Unix shebang
dagss authored
1 #!/usr/bin/env python
2
c4fa206 @williamstein Initial version
williamstein authored
3 #
90b64b5 @williamstein More Pyrex/SageX --> Cython changes
williamstein authored
4 # Cython -- Main Program, generic
c4fa206 @williamstein Initial version
williamstein authored
5 #
6
7771e20 @robertwb cython.locals(...) decorator for pure python type declarations.
robertwb authored
7 if __name__ == '__main__':
8
c1d950c @dagss cython.py: Always put Cython in sys.path
dagss authored
9 import os
10 import sys
11
12 # Make sure we import the right Cython
13 cythonpath, _ = os.path.split(os.path.realpath(__file__))
14 sys.path.insert(0, cythonpath)
15
7771e20 @robertwb cython.locals(...) decorator for pure python type declarations.
robertwb authored
16 from Cython.Compiler.Main import main
17 main(command_line = 1)
18
19 else:
c6c1340 @robertwb Couple more trailing whitespace deletions.
robertwb authored
20 # Void cython.* directives.
7771e20 @robertwb cython.locals(...) decorator for pure python type declarations.
robertwb authored
21 from Cython.Shadow import *
Something went wrong with that request. Please try again.