提交 b3021823 编写于 作者: K Kentaro Wada

Exclude matplotlib by excludes option in labelme.spec

上级 c72c64ac
...@@ -88,7 +88,6 @@ after_script: ...@@ -88,7 +88,6 @@ after_script:
if [ $RUN_PYINSTALLER = "true" ]; then if [ $RUN_PYINSTALLER = "true" ]; then
# Cleanup # Cleanup
pip uninstall -y $PIP_DEPENDENCIES pip uninstall -y $PIP_DEPENDENCIES
pip uninstall -y matplotlib
# Build the standalone executable # Build the standalone executable
pip install pyinstaller pip install pyinstaller
......
...@@ -169,7 +169,6 @@ conda activate labelme ...@@ -169,7 +169,6 @@ conda activate labelme
# Build the standalone executable # Build the standalone executable
pip install . pip install .
pip uninstall -y matplotlib
pip install pyinstaller pip install pyinstaller
pyinstaller labelme.spec pyinstaller labelme.spec
dist/labelme --version dist/labelme --version
......
...@@ -16,7 +16,7 @@ a = Analysis( ...@@ -16,7 +16,7 @@ a = Analysis(
hiddenimports=[], hiddenimports=[],
hookspath=[], hookspath=[],
runtime_hooks=[], runtime_hooks=[],
excludes=[], excludes=['matplotlib'],
win_no_prefer_redirects=False, win_no_prefer_redirects=False,
win_private_assemblies=False, win_private_assemblies=False,
cipher=block_cipher, cipher=block_cipher,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册