Makefile 277 B

12345678910111213141516
  1. default: test lint
  2. test:
  3. python test_ipaddress.py
  4. lint:
  5. @(python --version 2>&1 | grep -q ' 2\.6\.') || flake8 ipaddress.py test_ipaddress.py
  6. pypi:
  7. python setup.py sdist bdist upload
  8. clean:
  9. rm -rf -- build dist ipaddress.egg-info
  10. .PHONY: default test clean pypi lint