aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/cython.py
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/tools/cython/cython.py
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'contrib/tools/cython/cython.py')
-rwxr-xr-xcontrib/tools/cython/cython.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/contrib/tools/cython/cython.py b/contrib/tools/cython/cython.py
new file mode 100755
index 0000000000..4b91fb9451
--- /dev/null
+++ b/contrib/tools/cython/cython.py
@@ -0,0 +1,27 @@
+#!/usr/bin/env python
+
+# Change content of this file to change uids for cython programs - cython 0.29.34 r0
+
+#
+# Cython -- Main Program, generic
+#
+
+if __name__ == '__main__':
+
+ import os
+ import sys
+ sys.dont_write_bytecode = True
+
+ # 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)
+
+else:
+ # Void cython.* directives.
+ from Cython.Shadow import *
+ ## and bring in the __version__
+ from Cython import __version__
+ from Cython import load_ipython_extension