use 'hg identify' to generate .hgrev file
[cython.git] / cython.py
old mode 100755 (executable)
new mode 100644 (file)
index f96c577..c84a800
--- a/cython.py
+++ b/cython.py
@@ -2,5 +2,11 @@
 #   Cython -- Main Program, generic
 #
 
-from Cython.Compiler.Main import main
-main(command_line = 1)
+if __name__ == '__main__':
+
+    from Cython.Compiler.Main import main
+    main(command_line = 1)
+
+else:
+    # Void cython.* directives. 
+    from Cython.Shadow import *