diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-03-15 19:59:12 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-03-15 19:59:12 +0300 |
commit | 056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch) | |
tree | 4740980126f32e3af7937ba0ca5f83e59baa4ab0 /contrib/tools/cython/cython.py | |
parent | 269126dcced1cc8b53eb4398b4a33e5142f10290 (diff) | |
download | ydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz |
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'contrib/tools/cython/cython.py')
-rwxr-xr-x | contrib/tools/cython/cython.py | 27 |
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..007bdda7a8 --- /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.33 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 |