Fixed a pyqt5 version to avoid build error for pipenv
This commit is contained in:
parent
731735f187
commit
bf8cc1d575
@ -69,14 +69,14 @@ matrix:
|
||||
# Pipenv Python 3 + QT5 - Build .app
|
||||
- os: osx
|
||||
language: generic
|
||||
python: "3.6"
|
||||
python: "3.7"
|
||||
env:
|
||||
- PIPENV_VENV_IN_PROJECT=1
|
||||
- PIPENV_IGNORE_VIRTUALENVS=1
|
||||
install:
|
||||
- pip3 install pipenv
|
||||
- pipenv install pyqt5 lxml
|
||||
- pipenv run pip install pyqt5 lxml
|
||||
- pipenv run pip install pyqt5==5.13.2 lxml
|
||||
- pipenv run make qt5py3
|
||||
- rm -rf build dist
|
||||
- pipenv run python setup.py py2app
|
||||
|
||||
@ -97,8 +97,7 @@ Virtualenv can avoid a lot of the QT / Python version issues
|
||||
|
||||
brew install python3
|
||||
pip3 install pipenv
|
||||
pipenv --three # or pipenv install pyqt5 lxml
|
||||
pipenv run pip install pyqt5 lxml
|
||||
pipenv run pip install pyqt5==5.13.2 lxml
|
||||
pipenv run make qt5py3
|
||||
python3 labelImg.py
|
||||
[Optional] rm -rf build dist; python setup.py py2app -A;mv "dist/labelImg.app" /Applications
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user