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

cython.py: Always put Cython in sys.path

parent b0547937
......@@ -4,6 +4,13 @@
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)
......
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