Эх сурвалжийг харах

Exclude matplotlib by excludes option in labelme.spec

Kentaro Wada 7 жил өмнө
parent
commit
dd75c665c9
3 өөрчлөгдсөн 1 нэмэгдсэн , 3 устгасан
  1. 0 1
      .travis.yml
  2. 0 1
      README.md
  3. 1 1
      labelme.spec

+ 0 - 1
.travis.yml

@@ -88,7 +88,6 @@ after_script:
     if [ $RUN_PYINSTALLER = "true" ]; then
       # Cleanup
       pip uninstall -y $PIP_DEPENDENCIES
-      pip uninstall -y matplotlib
 
       # Build the standalone executable
       pip install pyinstaller

+ 0 - 1
README.md

@@ -169,7 +169,6 @@ conda activate labelme
 
 # Build the standalone executable
 pip install .
-pip uninstall -y matplotlib
 pip install pyinstaller
 pyinstaller labelme.spec
 dist/labelme --version

+ 1 - 1
labelme.spec

@@ -16,7 +16,7 @@ a = Analysis(
     hiddenimports=[],
     hookspath=[],
     runtime_hooks=[],
-    excludes=[],
+    excludes=['matplotlib'],
     win_no_prefer_redirects=False,
     win_private_assemblies=False,
     cipher=block_cipher,