2018-06-30 12:46:23 +02:00
|
|
|
.PHONY: test sdist wheel release pre-release clean
|
|
|
|
|
|
|
|
test:
|
2019-01-30 12:50:03 +01:00
|
|
|
python -Wall runtests.py
|
2018-06-30 12:46:23 +02:00
|
|
|
|
|
|
|
sdist:
|
|
|
|
python setup.py sdist
|
|
|
|
|
|
|
|
wheel:
|
|
|
|
python setup.py bdist_wheel --universal
|
|
|
|
|
|
|
|
release: clean sdist wheel
|
|
|
|
twine upload dist/*
|
|
|
|
|
|
|
|
pre-release: sdist wheel
|
|
|
|
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
|
|
|
|
|
|
|
clean:
|
2019-06-21 13:10:17 +02:00
|
|
|
find . | grep -E '(__pycache__|\.pyc|\.pyo$)' | xargs rm -rf
|
2018-06-30 12:46:23 +02:00
|
|
|
rm -rf build
|
|
|
|
rm -rf dist
|
|
|
|
rm -rf *.egg-info
|