Simple library for parsing OpenStack microversion headers.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 961B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # simple Makefile for some common tasks
  2. .PHONY: clean test dist release pypi tagv docs
  3. clean:
  4. find . -name "*.pyc" |xargs rm || true
  5. rm -r dist || true
  6. rm -r build || true
  7. rm -r .tox || true
  8. rm -r .testrepository || true
  9. rm -r cover .coverage || true
  10. rm -r .eggs || true
  11. rm -r microversion_parse.egg-info || true
  12. tagv:
  13. git tag \
  14. -m `python -c 'import microversion_parse; print microversion_parse.__version__'` \
  15. `python -c 'import microversion_parse; print microversion_parse.__version__'`
  16. git push origin master --tags
  17. cleanagain:
  18. find . -name "*.pyc" |xargs rm || true
  19. rm -r dist || true
  20. rm -r build || true
  21. rm -r .tox || true
  22. rm -r .testrepository || true
  23. rm -r cover .coverage || true
  24. rm -r .eggs || true
  25. rm -r microversion_parse.egg-info || true
  26. docs:
  27. cd docs ; $(MAKE) html
  28. test:
  29. tox --skip-missing-interpreters
  30. dist: test
  31. python setup.py sdist
  32. release: clean test cleanagain tagv pypi
  33. pypi:
  34. python setup.py sdist upload