File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 50
50
51
51
- name : Set up Python
52
52
shell : bash -l {0}
53
- env :
54
- PYTHON_VERSION : ${{ matrix.PYTHON_VERSION }}
55
53
run : |
56
- conda install -q -y python=$PYTHON_VERSION
54
+ conda install -q -y python=${{ matrix.python-version }}
57
55
which python
58
56
python --version
59
57
pip --version
@@ -62,15 +60,19 @@ jobs:
62
60
shell : bash -l {0}
63
61
run : |
64
62
if [ "${{ matrix.PYTEST_QT_API }}" = "pyside2" ]; then
65
- if [ "${{ matrix.PYTHON_VERSION }}" = "2.7" ]; then
63
+ if [ "${{ matrix.python-version }}" = "2.7" ]; then
66
64
conda install -q -y 'pyside2!=5.12.4' -c conda-forge
67
65
else
68
66
conda install -q -y pyside2 -c conda-forge
69
67
fi
70
68
elif [ "${{ matrix.PYTEST_QT_API }}" = "pyqt4v2" ]; then
71
69
conda install -q -y pyqt=4 -c conda-forge
72
70
else # pyqt5
73
- conda install -q -y pyqt=5
71
+ if [ "${{ matrix.python-version }}" = "2.7" ]; then
72
+ conda install -q -y pyqt=5
73
+ else
74
+ pip install pyqt5
75
+ fi
74
76
fi
75
77
if [ "${{ matrix.os }}" != "windows-latest" ]; then
76
78
conda install -q -y help2man
@@ -137,7 +139,6 @@ jobs:
137
139
if : matrix.PYTEST_QT_API == 'pyqt5' && matrix.python-version == '3.7'
138
140
run : |
139
141
# Build the standalone executable
140
- pip install 'pyinstaller!=3.4'
141
- pip install 'setuptools<45.0.0'
142
+ pip install pyinstaller
142
143
pyinstaller labelme.spec
143
144
dist/labelme --version
Original file line number Diff line number Diff line change 58
58
- name : Run pyinstaller
59
59
shell : bash -l {0}
60
60
run : |
61
- pip install 'pyinstaller!=3.4'
62
- pip install 'setuptools<45.0.0'
61
+ pip install pyinstaller
63
62
pyinstaller labelme.spec
64
63
65
64
- name : Load release url file from release job
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ a = Analysis(
18
18
hiddenimports = [],
19
19
hookspath = [],
20
20
runtime_hooks = [],
21
- excludes = ['matplotlib' ],
21
+ excludes = [],
22
22
)
23
23
pyz = PYZ (a .pure , a .zipped_data )
24
24
exe = EXE (
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ def get_install_requires():
30
30
31
31
install_requires = [
32
32
"imgviz>=0.11.0" ,
33
- "matplotlib" ,
33
+ "matplotlib<3.3" , # for PyInstaller
34
34
"numpy" ,
35
35
"Pillow>=2.8.0" ,
36
36
"PyYAML" ,
You can’t perform that action at this time.
0 commit comments