Update README.rst
This commit is contained in:
parent
689ce8ee2f
commit
7a8e6a0c7a
10
README.rst
10
README.rst
@ -87,19 +87,21 @@ Python 3 + Qt5 (Works on macOS High Sierra)
|
|||||||
**NEW** Python 3 Virtualenv + Binary
|
**NEW** Python 3 Virtualenv + Binary
|
||||||
This avoids a lot of the QT / Python version issues,
|
This avoids a lot of the QT / Python version issues,
|
||||||
and gives you a nice .app file with a new SVG Icon
|
and gives you a nice .app file with a new SVG Icon
|
||||||
in your /Applications folder.
|
in your /Applications folder. You can consider this script: build-tools/build-for-macos.sh
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
|
|
||||||
brew install python3
|
brew install python3
|
||||||
pip install pipenv
|
pip install pipenv
|
||||||
pipenv --three
|
pipenv --three
|
||||||
pipenv shell
|
pipenv shell
|
||||||
pip install pyqt5 lxml
|
pip install py2app
|
||||||
|
pip install PyQt5 lxml
|
||||||
make qt5py3
|
make qt5py3
|
||||||
rm -rf build dist
|
rm -rf build dist
|
||||||
python setup.py py2app
|
python setup.py py2app -A
|
||||||
cp -rf dist/labelImg.app /Applications
|
mv "dist/labelImg.app" /Applications
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
^^^^^^^
|
^^^^^^^
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user