diff --git a/dist/release.sh b/dist/release.sh index a42e351542..b9c32f4768 100755 --- a/dist/release.sh +++ b/dist/release.sh @@ -32,10 +32,9 @@ fi cd .. -python setup.py sdist --formats=bztar,zip,gztar -python setup.py bdist_wheel +python -m build cd dist -./hash.py *.tar.bz2 *.tar.gz *.zip *.whl -./sign.sh -u ${user} *.tar.bz2 *.tar.gz *.zip *.whl +./hash.py *.tar.gz *.whl +./sign.sh -u ${user} *.tar.gz *.whl diff --git a/pyproject.toml b/pyproject.toml index fb91c42a17..1259178218 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,12 +62,16 @@ dynamic = ["version", "readme"] [project.urls] homepage = "https://libcloud.apache.org" documentation = "https://libcloud.readthedocs.io" +security = "https://libcloud.apache.org/security.html" source = "https://github.com/apache/libcloud" issues = "https://github.com/apache/libcloud/issues" changelog = "https://github.com/apache/libcloud/blob/trunk/CHANGES.rst" [project.optional-dependencies] +build = [ + "build==0.10.0" +] test = [ "pytest", "requests_mock",