scour/Makefile
Roberta a1b72d5643
revert to python
python should be pointed to python3 in my os if I want/need to use it.
2021-06-05 09:02:52 -05:00

39 lines
634 B
Makefile

all: clean install
install:
python setup.py install
clean:
rm -rf build
rm -rf dist
rm -rf scour.egg-info
rm -rf .tox
rm -f .coverage*
rm -rf htmlcov
find . -name "*.pyc" -type f -exec rm -f {} \;
find . -name "*__pycache__" -type d -prune -exec rm -rf {} \;
publish: clean
python setup.py register
python setup.py sdist upload
check: test flake8
test:
python test_scour.py
test_version:
PYTHONPATH=. python -m scour.scour --version
test_help:
PYTHONPATH=. python -m scour.scour --help
flake8:
flake8 --max-line-length=119
coverage:
coverage run --source=scour test_scour.py
coverage html
coverage report