Skip to content

Commit

Permalink
make install as local
Browse files Browse the repository at this point in the history
  • Loading branch information
gdraheim committed Mar 25, 2024
1 parent 0275317 commit b84846e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ clean:
- rm -rf build dist *.egg-info
- rm *.cover *,cover


############## https://pypi.org/...

README: README.md Makefile
Expand All @@ -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
Expand Down

0 comments on commit b84846e

Please sign in to comment.