diff options
author | nkozlovskiy <nmk@ydb.tech> | 2023-09-13 10:45:01 +0300 |
---|---|---|
committer | nkozlovskiy <nmk@ydb.tech> | 2023-09-13 11:09:11 +0300 |
commit | c83ecb3917fd4711b7e2ba3567b5eef4116056cc (patch) | |
tree | 3b9efa5d2d078b93559ff218f176728b96b0b6f8 | |
parent | 68afde5b23a2fb6dc5a6c4e9e03035f4ee0ba600 (diff) | |
download | ydb-c83ecb3917fd4711b7e2ba3567b5eef4116056cc.tar.gz |
pyinstaller .spec file for local_ydb
-rw-r--r-- | ydb/public/tools/local_ydb/local_ydb.spec | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/ydb/public/tools/local_ydb/local_ydb.spec b/ydb/public/tools/local_ydb/local_ydb.spec new file mode 100644 index 0000000000..67b7a26155 --- /dev/null +++ b/ydb/public/tools/local_ydb/local_ydb.spec @@ -0,0 +1,56 @@ +# -*- mode: python ; coding: utf-8 -*- +import sys +from PyInstaller.utils.hooks import collect_data_files + +block_cipher = None + +sys.path.extend([ + '../../../..', + '../../../../library/python/testing/yatest_common', + '../../../../library/python/testing', +]) + +hiddenimports = ['ydb', 'ydb.public.tools.lib.cmds'] + +datas = [] +datas += collect_data_files("ydb.tests.library.harness") + +a = Analysis( + ['__main__.py'], + pathex=[], + binaries=[], + datas=datas, + hiddenimports=hiddenimports, + hookspath=[], + hooksconfig={}, + runtime_hooks=[], + excludes=[], + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher, + noarchive=False, +) + +pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) + +exe = EXE( + pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + [], + name='local_ydb', + debug=False, + bootloader_ignore_signals=False, + strip=True, + upx=False, + upx_exclude=[], + runtime_tmpdir=None, + console=True, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, +) |