greenhouse/labelImg/Makefile

36 lines
520 B
Makefile
Raw Normal View History

2017-01-02 21:54:08 -05:00
# ex: set ts=8 noet:
2015-09-17 10:37:20 +08:00
2019-05-25 20:58:20 -07:00
all: qt5 test
2015-09-17 10:37:20 +08:00
2019-05-25 14:14:49 -07:00
test: testpy3
2017-01-02 21:54:08 -05:00
testpy2:
python -m unittest discover tests
testpy3:
python3 -m unittest discover tests
2017-01-02 20:50:02 -05:00
qt4: qt4py2
qt5: qt5py3
2017-01-02 20:50:02 -05:00
qt4py2:
2019-05-25 14:33:09 -07:00
pyrcc4 -py2 -o libs/resources.py resources.qrc
2017-01-02 20:50:02 -05:00
qt4py3:
2019-05-25 14:33:09 -07:00
pyrcc4 -py3 -o libs/resources.py resources.qrc
2017-01-02 20:50:02 -05:00
qt5py3:
2019-05-25 14:33:09 -07:00
pyrcc5 -o libs/resources.py resources.qrc
2015-09-17 10:37:20 +08:00
2017-08-08 05:10:34 +08:00
clean:
2019-05-25 20:58:20 -07:00
rm -rf ~/.labelImgSettings.pkl *.pyc dist labelImg.egg-info __pycache__ build
2017-08-08 05:10:34 +08:00
2019-05-25 20:58:20 -07:00
pip_upload:
python3 setup.py upload
long_description:
restview --long-description
.PHONY: all