Makefile 520 B

1234567891011121314151617181920212223242526272829303132333435
  1. # ex: set ts=8 noet:
  2. all: qt5 test
  3. test: testpy3
  4. testpy2:
  5. python -m unittest discover tests
  6. testpy3:
  7. python3 -m unittest discover tests
  8. qt4: qt4py2
  9. qt5: qt5py3
  10. qt4py2:
  11. pyrcc4 -py2 -o libs/resources.py resources.qrc
  12. qt4py3:
  13. pyrcc4 -py3 -o libs/resources.py resources.qrc
  14. qt5py3:
  15. pyrcc5 -o libs/resources.py resources.qrc
  16. clean:
  17. rm -rf ~/.labelImgSettings.pkl *.pyc dist labelImg.egg-info __pycache__ build
  18. pip_upload:
  19. python3 setup.py upload
  20. long_description:
  21. restview --long-description
  22. .PHONY: all