Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 46 lines (35 sloc) 1.009 kB
.PHONY: clean-pyc clean-build
help:
@echo "clean-build - remove build artifacts"
@echo "clean-pyc - remove Python file artifacts"
@echo "lint - check style with flake8"
@echo "test - run tests quickly with the default Python"
@echo "testall - run tests on every Python version with tox"
@echo "coverage - check code coverage with the default Python"
@echo "publish - package and upload a release"
@echo "sdist - package"
clean: clean-build clean-pyc
clean-build:
rm -rf build/
rm -rf dist/
rm -rf *.egg-info
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -rf {} +
lint:
flake8 clay tests
test:
find . -name '__pycache__' -exec rm -rf {} +
py.test -x tests/
test-all:
tox
coverage:
py.test --cov-config .coveragerc --cov-report html --cov clay tests/
open htmlcov/index.html
publish: clean
python setup.py sdist upload
sdist: clean
python setup.py sdist
ls -l dist
Jump to Line
Something went wrong with that request. Please try again.