Skip to content

Commit

Permalink
pcr_tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Shota Yamamoto committed Sep 14, 2022
1 parent 64d5099 commit bf9806f
Show file tree
Hide file tree
Showing 4 changed files with 23,373 additions and 33 deletions.
41 changes: 8 additions & 33 deletions data_visualization_tool/main.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ a = Analysis(['main.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[json, panda, matplotlib, numpy, seaborn, PySimpleGUI, pathlib],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
Expand All @@ -20,46 +20,21 @@ a = Analysis(['main.py'],
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)


#---------------追加ここから---------------
Key = ['mkl']
def remove_from_list(input, keys):
outlist = []
for item in input:
name, _, _ = item
flag = 0
for key_word in keys:
if name.find(key_word) > -1:
flag = 1
if flag != 1:
outlist.append(item)
return outlist
a.binaries = remove_from_list(a.binaries, Key)
#---------------追加ここまで---------------

exe = EXE(pyz,
a.scripts,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
exclude_binaries=True,
name='main',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='main')
app = BUNDLE(coll,
name='main.app',
icon=None,
bundle_identifier=None)
Loading

0 comments on commit bf9806f

Please sign in to comment.