File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,20 +38,20 @@ docs:
3838.PHONY : build-test
3939build-test :
4040 rm -rf venv
41+ uvx --from build pyproject-build
4142 python3 -m venv venv
4243 . venv/bin/activate
43- python3 setup.py sdist
44- pip install ./dist/juju-${VERSION} .tar.gz
44+ pip install dist/juju-${VERSION} .tar.gz
4545 python3 -c " from juju.controller import Controller"
46- rm ./ dist/juju-${VERSION} .tar.gz
46+ rm dist/juju-${VERSION} .tar.gz dist/juju- ${VERSION} - * .whl
4747
4848.PHONY : release
4949release :
5050 git fetch --tags
51- rm dist/* .tar.gz || true
52- $( PY ) setup.py sdist
53- $( BIN ) / twine check dist/*
54- $( BIN ) / twine upload --repository juju dist/*
51+ rm dist/* .tar.gz dist/ * .whl || true
52+ uvx --from build pyproject-build
53+ uvx twine check dist/*
54+ uvx twine upload --repository juju dist/*
5555 git tag ${VERSION}
5656 git push --tags
5757
You can’t perform that action at this time.
0 commit comments