Commit af902b50 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

BUG Make sure bin/cython imports the right Cython module

parent 1e4a346e
#!/usr/bin/env python
import sys
import os
# Make sure we import the right Cython
binpath, _ = os.path.split(os.path.realpath(__file__))
cythonpath, _ = os.path.split(binpath)
sys.path.insert(0, cythonpath)
from Cython.Debugger import Cygdb as cygdb
......
......@@ -4,5 +4,13 @@
# Cython -- Main Program, Unix
#
import os
import sys
# Make sure we import the right Cython
binpath, _ = os.path.split(os.path.realpath(__file__))
cythonpath, _ = os.path.split(binpath)
sys.path.insert(0, cythonpath)
from Cython.Compiler.Main import main
main(command_line = 1)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment