Add pip method to README

This commit is contained in:
tzutalin 2017-05-04 10:01:05 +08:00
parent db3a6ba1b6
commit 8df94a45c8

View File

@ -27,8 +27,7 @@ Download prebuilt binaries
- `Windows & Linux <http://tzutalin.github.io/labelImg/>`__
- OS X
- Binaries for OS X are not yet available. Help would be appreciated. At present, it must be `built from source <#os-x>`__.
- OS X. Binaries for OS X are not yet available. Help would be appreciated. At present, it must be `built from source <#os-x>`__.
Build from source
~~~~~~~~~~~~~~~~~
@ -37,6 +36,7 @@ Linux/Ubuntu/Mac requires at least `Python
2.6 <http://www.python.org/getit/>`__ and has been tested with `PyQt
4.8 <http://www.riverbankcomputing.co.uk/software/pyqt/intro>`__.
Ubuntu Linux
^^^^^^^^^^^^
@ -72,6 +72,14 @@ Open cmd and go to `labelImg <#labelimg>`__ directory
pyrcc4 -o resources.py resources.qrc
python labelImg.py
Get from PyPI
~~~~~~~~~~~~~~~~~
.. code::
pip install labelimg
I tested pip on Ubuntu14.04 and 16.04. However, I didn't test pip on MacOS and windows
Usage
-----