diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /contrib/tools/cython/cython.py | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/cython/cython.py')
-rwxr-xr-x | contrib/tools/cython/cython.py | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/contrib/tools/cython/cython.py b/contrib/tools/cython/cython.py index f4f1486ecf..aef94b40f7 100755 --- a/contrib/tools/cython/cython.py +++ b/contrib/tools/cython/cython.py @@ -1,27 +1,27 @@ -#!/usr/bin/env python - +#!/usr/bin/env python + # Change content of this file to change uids for cython programs - cython 0.29.27 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 +# +# 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 |