From 74df70cb6b638768d93d7194e3d6d521afff05f3 Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Fri, 2 Aug 2024 10:58:06 +0200 Subject: [PATCH] bdist xlsx --- Makefile | 8 ++++++-- setup.tabxlsx.cfg | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 327f37d..0d956ab 100644 --- a/Makefile +++ b/Makefile @@ -177,8 +177,12 @@ insxlsx: $(MAKE) $(TAB)/setup.py cd $(TAB) && $(PYTHON3) -m pip install --no-compile --user . $(MAKE) showxlsx -showxlsx: ; $(PYTHON3) -m pip show -f $$(sed -e '/^name *=/!d' -e 's/.*= *//' setup.tabxlsx.cfg) -unsxlsx: ; $(PYTHON3) -m pip uninstall -vv --yes $$(sed -e '/^name *=/!d' -e 's/.*= *//' setup.tabxlsx.cfg) +showxlsx: + test -d tmp || mkdir -v tmp + cd tmp && $(PYTHON3) -m pip show -f $$(sed -e '/^name *=/!d' -e 's/.*= *//' ../setup.tabxlsx.cfg) +unsxlsx: + test -d tmp || mkdir -v tmp + cd tmp && $(PYTHON3) -m pip uninstall -vv --yes $$(sed -e '/^name *=/!d' -e 's/.*= *//' ../setup.tabxlsx.cfg) README: README.md Makefile cat README.md | sed -e "/\\/badge/d" -e /^---/q > README diff --git a/setup.tabxlsx.cfg b/setup.tabxlsx.cfg index ae727b3..bf41045 100644 --- a/setup.tabxlsx.cfg +++ b/setup.tabxlsx.cfg @@ -23,9 +23,10 @@ scripts = tabxlsx = tabxlsx [options.data_files] -data = +data/tabxlsx = tabxlsx.txt tabxlsx.md + tabxlsx.tests.py [bdist_wheel] universal = 1