Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
29 lines (20 sloc)
548 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
.PHONY: clean test anaconda pypi build wait release | |
release: test wait clean build wait upload | |
upload: | |
$(MAKE) -C anaconda upload | |
twine upload dist/* -r pypi | |
test: | |
pytest -m "not large_download" --cov-config .coveragerc --cov yews tests | |
wait: | |
sleep 10 | |
build: anaconda pypi | |
anaconda: | |
$(MAKE) -C $@ build | |
pypi: | |
python setup.py dists | |
twine check dist/* | |
clean: | |
find . | grep -E "(__pycache__|\.pyc|\.pyo)" | xargs rm -rf | |
$(MAKE) -C anaconda clean | |
rm -rf build dist .eggs htmlcov *.npy *.tar.bz2 ._* .coverage .pytest_cache |