Bug 733 fixed
[osm/N2VC.git] / modules / libjuju / Makefile
index bd59a97..38dcc11 100644 (file)
@@ -13,7 +13,7 @@ clean:
 .tox:
        tox -r --notest
 
-client:
+client: .tox
 ifndef SCHEMAGEN
        $(error "schemagen is not available, please install from https://github.com/juju/schemagen")
 endif
@@ -22,6 +22,10 @@ endif
 test:
        tox
 
+.PHONY: lint
+lint:
+       tox -e lint --notest
+
 docs: .tox
        $(PIP) install -r docs/requirements.txt
        rm -rf docs/_build/
@@ -30,7 +34,9 @@ docs: .tox
 
 release:
        git fetch --tags
-       $(PY) setup.py sdist upload
+       rm dist/*.tar.gz
+       $(PY) setup.py sdist
+       $(BIN)/twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
        git tag ${VERSION}
        git push --tags