diff options
author | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
---|---|---|
committer | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
commit | 06e5c21a835c0e923506c4ff27929f34e00761c2 (patch) | |
tree | 75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /build/plugins/create_init_py.py | |
parent | 03f024c4412e3aa613bb543cf1660176320ba8f4 (diff) | |
download | ydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz |
fix ya.make
Diffstat (limited to 'build/plugins/create_init_py.py')
-rw-r--r-- | build/plugins/create_init_py.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/build/plugins/create_init_py.py b/build/plugins/create_init_py.py deleted file mode 100644 index e41a4d22df..0000000000 --- a/build/plugins/create_init_py.py +++ /dev/null @@ -1,15 +0,0 @@ -import os - -from _common import sort_by_keywords - - -def oncreate_init_py_structure(unit, *args): - if unit.get('DISTBUILD'): - return - target_dir = unit.get('PY_PROTOS_FOR_DIR') - path_list = target_dir.split(os.path.sep)[1:] - inits = [os.path.join("${ARCADIA_BUILD_ROOT}", '__init__.py')] - for i in range(1, len(path_list) + 1): - inits.append(os.path.join("${ARCADIA_BUILD_ROOT}", os.path.join(*path_list[0:i]), '__init__.py')) - unit.ontouch(inits) - |