From 0368917290852577357f8dfe22790212582844c5 Mon Sep 17 00:00:00 2001 From: Andrei Date: Mon, 29 Apr 2024 19:44:26 +0300 Subject: [PATCH] Update Makefile --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 19d48c019..641cbe71c 100644 --- a/Makefile +++ b/Makefile @@ -23,13 +23,17 @@ lint: black src/ --check && \ isort src/ --check-only +build: + pip3 install --upgrade build setuptools + python3 -m build + upload: - pip3 install twine wheel - cd src/ && python setup.py upload + pip3 install twine wheel setuptools build + twine upload dist/* tests: install coverage run --rcfile=.coveragerc -m pytest --verbose --showlocals --pastebin=all \ - tests/ --disable-warnings && \ + tests/test_tencent.py --disable-warnings && \ coverage report --precision=3 --sort=cover --skip-empty --show-missing && \ coverage html --precision=3 --skip-empty -d coverage/html/ && \ coverage xml -o coverage/coverage.xml