1#!/usr/bin/env python 2 3# 4# Cython -- Main Program, generic 5# 6 7if __name__ == '__main__': 8 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 16 from Cython.Compiler.Main import main 17 main(command_line = 1) 18 19else: 20 # Void cython.* directives. 21 from Cython.Shadow import * 22 ## and bring in the __version__ 23 from Cython import __version__ 24