Add tool to make package for smoke test

This commit is contained in:
Jason Carver
2019-11-14 12:47:21 -08:00
parent 56d3e50267
commit 444929d5fc
2 changed files with 21 additions and 3 deletions

View File

@ -27,7 +27,15 @@ protobufs: $(PY)
%_pb2.py: %.proto
protoc --python_out=. --mypy_out=. $<
.PHONY: clean
clean-proto:
rm -f $(PY) $(PYI)
clean:
rm -f $(PY) $(PYI)
find . -name '__pycache__' -exec rm -rf {} +
rm -fr build/
rm -fr dist/
rm -fr *.egg-info
package: clean
python setup.py sdist bdist_wheel
python scripts/release/test_package.py