[Git][NTPsec/ntpsec][master] 2 commits: INSTALL: Use env for python3 shebang

Matt Selsky gitlab at mg.gitlab.com
Fri Sep 25 00:24:31 UTC 2020



Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
faae6b74 by Richard Laager at 2020-09-24T16:53:49-05:00
INSTALL: Use env for python3 shebang

This avoids assumptions about where in the PATH python3 lives.

- - - - -
54a43ba6 by Richard Laager at 2020-09-24T16:54:43-05:00
Document pyshebang in NEWS

Fixes #675

- - - - -


2 changed files:

- INSTALL.adoc
- NEWS.adoc


Changes:

=====================================
INSTALL.adoc
=====================================
@@ -55,7 +55,7 @@ Python 2.x, x >= 6, or Python 3.x, x >= 3::
 
    If you are running on a distro with no `python` executable, you will
    need to run waf as `python3 waf` rather than `./waf`.  You will also
-   need `python3 waf configure --pyshebang=/usr/bin/python3` or similar.
+   need `python3 waf configure --pyshebang=/usr/bin/env python3` or similar.
 
    Some OS distros won't find our installed python libraries.
    More info in README-PYTHON.


=====================================
NEWS.adoc
=====================================
@@ -17,6 +17,12 @@ NTS-KE client now defaults to port 4460.
 NTS-KE server now listens on port 4460.
 (Listening on port 123 has been removed.)
 
+The shebang of installed Python scripts can now be customized with:
+  waf configure --pyshebang="..."
+This has multiple uses, but one example is for distros (like CentOS 8 or
+Ubuntu 20.04) with no `python` executable:
+  python3 waf configure --pyshebang="/usr/bin/env python3"
+
 == 2020-05-23: 1.1.9 ==
 
 Today is Blursday, Maprilay 84th, 2020, of the COVID-19 panic.



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/compare/d4c07483813995e00313e91cbce39c8669826fb2...54a43ba690b87fd0e71657a36003d8e8d48a9845

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/compare/d4c07483813995e00313e91cbce39c8669826fb2...54a43ba690b87fd0e71657a36003d8e8d48a9845
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20200925/c312cf94/attachment.htm>


More information about the vc mailing list