diff --git a/Makefile b/Makefile index c41262f6ec4e0f9dc1a0ea470e3cf425c9278c38..cc9d88726b044b49dc0d4800bb3a3e3547172191 100644 --- a/Makefile +++ b/Makefile @@ -36,11 +36,10 @@ format: black tests black examples -# build a wheel package in build folder and put it in dist folder +# build a wheel package in dist folder build: - if [ -d "./build" ]; then rm -r build/*; fi if [ -d "./dist" ]; then rm -r dist/*; fi - python setup.py sdist bdist_wheel + poetry build # upload on PyPi repository deploy: diff --git a/README.md b/README.md index fd90193972dbf92e1900a1de449fec1c14a4bd7b..c4cde7ee770bc7c3d54ee9dd6c68fac6815cbe44 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ Change and commit and tag the new version number (semantic version number) Build the PyPi package in the `dist` folder ```bash -poetry build +make build ``` Deploy the package to PyPi test repository (prefix the command with a space in order for the shell not to save in its history system the command containing the password)