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
|
# Pipenv Python 3 + QT5 - Build .app
|
||||||
- os: osx
|
- os: osx
|
||||||
language: generic
|
language: generic
|
||||||
python: "3.6"
|
python: "3.7"
|
||||||
env:
|
env:
|
||||||
- PIPENV_VENV_IN_PROJECT=1
|
- PIPENV_VENV_IN_PROJECT=1
|
||||||
- PIPENV_IGNORE_VIRTUALENVS=1
|
- PIPENV_IGNORE_VIRTUALENVS=1
|
||||||
install:
|
install:
|
||||||
- pip3 install pipenv
|
- pip3 install pipenv
|
||||||
- pipenv install pyqt5 lxml
|
- pipenv install pyqt5 lxml
|
||||||
- pipenv run pip install pyqt5 lxml
|
- pipenv run pip install pyqt5==5.13.2 lxml
|
||||||
- pipenv run make qt5py3
|
- pipenv run make qt5py3
|
||||||
- rm -rf build dist
|
- rm -rf build dist
|
||||||
- pipenv run python setup.py py2app
|
- pipenv run python setup.py py2app
|
||||||
|
|||||||
@ -97,8 +97,7 @@ Virtualenv can avoid a lot of the QT / Python version issues
|
|||||||
|
|
||||||
brew install python3
|
brew install python3
|
||||||
pip3 install pipenv
|
pip3 install pipenv
|
||||||
pipenv --three # or pipenv install pyqt5 lxml
|
pipenv run pip install pyqt5==5.13.2 lxml
|
||||||
pipenv run pip install pyqt5 lxml
|
|
||||||
pipenv run make qt5py3
|
pipenv run make qt5py3
|
||||||
python3 labelImg.py
|
python3 labelImg.py
|
||||||
[Optional] rm -rf build dist; python setup.py py2app -A;mv "dist/labelImg.app" /Applications
|
[Optional] rm -rf build dist; python setup.py py2app -A;mv "dist/labelImg.app" /Applications
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user