Browse Source

matplotlib<3.3 is only requirement for PyInstaller

Kentaro Wada 2 years ago
parent
commit
f294c37bb5
3 changed files with 3 additions and 1 deletions
  1. 1 0
      .github/workflows/ci.yml
  2. 1 0
      README.md
  3. 1 1
      setup.py

+ 1 - 0
.github/workflows/ci.yml

@@ -116,6 +116,7 @@ jobs:
       run: |
         # Build the standalone executable
         pip install PyQt5 -I --use-feature=2020-resolver  # https://stackoverflow.com/a/68784578
+        pip install 'matplotlib<3.3'
         pip install pyinstaller
         pyinstaller labelme.spec
         dist/labelme --version

+ 1 - 0
README.md

@@ -192,6 +192,7 @@ conda activate labelme
 
 # Build the standalone executable
 pip install .
+pip install 'matplotlib<3.3'
 pip install pyinstaller
 pyinstaller labelme.spec
 dist/labelme --version

+ 1 - 1
setup.py

@@ -24,7 +24,7 @@ def get_version():
 def get_install_requires():
     install_requires = [
         "imgviz>=0.11",
-        "matplotlib<3.3",  # for PyInstaller
+        "matplotlib",
         "natsort>=7.1.0",
         "numpy",
         "Pillow>=2.8",