|
@@ -50,10 +50,8 @@ jobs:
|
|
|
|
|
|
- name: Set up Python
|
|
|
shell: bash -l {0}
|
|
|
- env:
|
|
|
- PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}
|
|
|
run: |
|
|
|
- conda install -q -y python=$PYTHON_VERSION
|
|
|
+ conda install -q -y python=${{ matrix.python-version }}
|
|
|
which python
|
|
|
python --version
|
|
|
pip --version
|
|
@@ -62,7 +60,7 @@ jobs:
|
|
|
shell: bash -l {0}
|
|
|
run: |
|
|
|
if [ "${{ matrix.PYTEST_QT_API }}" = "pyside2" ]; then
|
|
|
- if [ "${{ matrix.PYTHON_VERSION }}" = "2.7" ]; then
|
|
|
+ if [ "${{ matrix.python-version }}" = "2.7" ]; then
|
|
|
conda install -q -y 'pyside2!=5.12.4' -c conda-forge
|
|
|
else
|
|
|
conda install -q -y pyside2 -c conda-forge
|
|
@@ -70,7 +68,11 @@ jobs:
|
|
|
elif [ "${{ matrix.PYTEST_QT_API }}" = "pyqt4v2" ]; then
|
|
|
conda install -q -y pyqt=4 -c conda-forge
|
|
|
else # pyqt5
|
|
|
- conda install -q -y pyqt=5
|
|
|
+ if [ "${{ matrix.python-version }}" = "2.7" ]; then
|
|
|
+ conda install -q -y pyqt=5
|
|
|
+ else
|
|
|
+ pip install pyqt5
|
|
|
+ fi
|
|
|
fi
|
|
|
if [ "${{ matrix.os }}" != "windows-latest" ]; then
|
|
|
conda install -q -y help2man
|
|
@@ -137,7 +139,6 @@ jobs:
|
|
|
if: matrix.PYTEST_QT_API == 'pyqt5' && matrix.python-version == '3.7'
|
|
|
run: |
|
|
|
# Build the standalone executable
|
|
|
- pip install 'pyinstaller!=3.4'
|
|
|
- pip install 'setuptools<45.0.0'
|
|
|
+ pip install pyinstaller
|
|
|
pyinstaller labelme.spec
|
|
|
dist/labelme --version
|