[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-util] branch master updated: Makefile: try to satisfy guide
From: |
gnunet |
Subject: |
[taler-taler-util] branch master updated: Makefile: try to satisfy guidelines in an hopefully not-so-awkward way. |
Date: |
Mon, 16 Dec 2019 15:12:40 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository taler-util.
The following commit(s) were added to refs/heads/master by this push:
new 3cce6a6 Makefile: try to satisfy guidelines in an hopefully
not-so-awkward way.
3cce6a6 is described below
commit 3cce6a6500e4cb929987098e142f70b1a1945b34
Author: ng0 <address@hidden>
AuthorDate: Mon Dec 16 14:12:07 2019 +0000
Makefile: try to satisfy guidelines in an hopefully not-so-awkward way.
---
Makefile | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 11d321e..69846cf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,12 @@
include config.mk
-all:
- echo "skip"
+.SILENT: all
+all: dist
+ echo "This is a python project, no compilation at this step required."
+ echo "Run make install to install global."
+ echo "Run make install-user to install for the current user."
+ echo ""
+ echo "If you want to update your installation, use make update."
# you need SOURCE_DATE_EPOCH at least at the 1980s when
# your default SOURCE_DATE_EPOCH in env is 1.
@@ -10,13 +15,22 @@ dist:
$(env) SOURCE_DATE_EPOCH=315532800 $(python) setup.py sdist bdist_wheel
install: all
- $(python) -m pip install
+ (cd dist; $(env) SOURCE_DATE_EPOCH=315532800 $(python) -m pip install
taler-util)
uninstall:
- $(python) -m pip uninstall
+ (cd dist; $(env) SOURCE_DATE_EPOCH=315532800 $(python) -m pip uninstall
taler-util)
+
+install-user:
+ (cd dist; $(env) SOURCE_DATE_EPOCH=315532800 $(python) -m pip install
--user --no-index --find-links=. taler-util)
+
+uninstall-user:
+ (cd dist; $(env) SOURCE_DATE_EPOCH=315532800 $(python) -m pip uninstall
--verbose taler-util)
+
+update:
+ (cd dist; $(env) SOURCE_DATE_EPOCH=315532800 $(python) -m pip install
--upgrade --no-index --find-links=. taler-util)
pypi: dist
- $(python) -m twine upload dist/*
+ $(env) SOURCE_DATE_EPOCH=315532800 $(python) -m twine upload dist/*
check:
$(tox) || echo "error: you have to install tox"
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-taler-util] branch master updated: Makefile: try to satisfy guidelines in an hopefully not-so-awkward way.,
gnunet <=