Skip to content
Snippets Groups Projects
Commit 177700aa authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] fix make build by using poetry

update README.md
parent 74efb95b
No related branches found
No related tags found
1 merge request!101Release 0.57.0
Pipeline #8541 passed
...@@ -36,11 +36,10 @@ format: ...@@ -36,11 +36,10 @@ format:
black tests black tests
black examples black examples
# build a wheel package in build folder and put it in dist folder # build a wheel package in dist folder
build: build:
if [ -d "./build" ]; then rm -r build/*; fi
if [ -d "./dist" ]; then rm -r dist/*; fi if [ -d "./dist" ]; then rm -r dist/*; fi
python setup.py sdist bdist_wheel poetry build
# upload on PyPi repository # upload on PyPi repository
deploy: deploy:
......
...@@ -105,7 +105,7 @@ Change and commit and tag the new version number (semantic version number) ...@@ -105,7 +105,7 @@ Change and commit and tag the new version number (semantic version number)
Build the PyPi package in the `dist` folder Build the PyPi package in the `dist` folder
```bash ```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) 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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment