From 177700aa98d40c8354c98b5062cf160ceb17a870 Mon Sep 17 00:00:00 2001
From: vtexier <vit@free.fr>
Date: Mon, 30 Mar 2020 12:38:55 +0200
Subject: [PATCH] [fix] fix make build by using poetry

update README.md
---
 Makefile  | 5 ++---
 README.md | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index c41262f6..cc9d8872 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 fd901939..c4cde7ee 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)
-- 
GitLab