diff --git a/Makefile b/Makefile index 73748cb..839b937 100644 --- a/Makefile +++ b/Makefile @@ -140,6 +140,7 @@ clean: - rm -rf build dist *.egg-info - rm *.cover *,cover + ############## https://pypi.org/... README: README.md Makefile @@ -162,6 +163,18 @@ build: $(TWINE) check dist/* : $(TWINE) upload dist/* +ins install: + $(MAKE) setup.py + $(PYTHON3) -m pip install --no-compile --user . + rm -v setup.py + $(MAKE) show | sed -e "s|[.][.]/[.][.]/[.][.]/bin|$$HOME/.local/bin|" +show: + python3 -m pip show -f $$(sed -e '/^name *=/!d' -e 's/.*= *//' setup.cfg) +uns uninstall: setup.py + $(MAKE) setup.py + $(PYTHON3) -m pip uninstall -v --yes $$(sed -e '/^name *=/!d' -e 's/.*= *//' setup.cfg) + rm -v setup.py + tar: - rm -f ../timetrack-odoo-20*.tgz tar czvf ../timetrack-odoo-`date -I`.tgz *.py *.md *.cfg LICENSE