From 0279d5f064384e0a32eadebcaf19bbabf218fb87 Mon Sep 17 00:00:00 2001 From: ge Date: Fri, 30 Sep 2022 12:11:04 +0300 Subject: [PATCH] update makefile --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f0d4022..c7b8b93 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,18 @@ +all: build + build: # Build Python package test -d build/ && rm -rf build/ || true test -d dist/ && rm -rf dist/ || true test -d *.egg-info/ && rm -rf *.egg-info/ || true -# python setup.py sdist bdist_wheel python -m build + rm -rv *.egg-info/ install: # Install package from built tarball pip install dist/*.tar.gz -dist: +cp: # Copy package to site downloads dir mkdir -p docs/static/downloads cp dist/*.tar.gz docs/static/downloads/