Python implementation of the eix database format

Makefile 678B

123456789101112131415161718192021222324252627282930313233
  1. TARGET?=test
  2. test:
  3. PYTHONPATH="." python -m pytest tests/ --junit-xml testresults.xml -rxsw -v
  4. compile:
  5. @echo Compiling python code
  6. python -m compileall peix
  7. compile_optimized:
  8. @echo Compiling python code optimized
  9. python -O -m compileall peix
  10. coverage:
  11. coverage erase
  12. PYTHONPATH="." coverage run --source='peix' --branch -m py.test -qq tests/
  13. coverage xml -i
  14. coverage report -m
  15. clean:
  16. find -name "*.py?" -delete
  17. rm -f coverage.xml .coverage
  18. rm -f testresults.xml
  19. rm -fr htmlcov dist *.egg-info
  20. travis: compile compile_optimized test coverage
  21. install_deps:
  22. pip install -r requirements.txt
  23. pip install -r requirements_dev.txt
  24. jenkins: install_deps travis