[Git][NTPsec/ntpsec][archdir] All python files installed in PYTHONARCHDIR.

Ian Bruene gitlab at mg.gitlab.com
Fri Aug 10 22:27:52 UTC 2018


Ian Bruene pushed to branch archdir at NTPsec / ntpsec


Commits:
8834dc39 by Ian Bruene at 2018-08-10T22:27:23Z
All python files installed in PYTHONARCHDIR.

- - - - -


2 changed files:

- devel/testing.txt
- pylib/wscript


Changes:

=====================================
devel/testing.txt
=====================================
@@ -30,12 +30,13 @@ this as a bug. If it is, but ./ntpq startup fails anyway, you may
 have a mis-configured Python and need to investigate that.
 
 Load paths may be more likely to be an issue after rootspace installation.
-The script should install the Python library in the directories specified by
-Python itself, which are reported as PYTHONDIR and PYTHONARCHDIR near the end
-of the configure phase.  These directories should be on your Python's sys.path,
-in which case all will proceed normally.  If it's not, you will get the same
-ntpq failure to launch ./ntpq from anywhere *outside* the source tree.  If
-this is the case, report it as a bug.
+The script should install the Python library in the directory specified by
+Python itself (unless overridden by command line options or environment
+variables), which is reported as PYTHONARCHDIR near the end of the configure
+phase.  This directory should be on your Python's sys.path, in which case all
+will proceed normally.  If it's not, you will get the same ntpq failure to
+launch ./ntpq from anywhere *outside* the source tree.  If this is the case,
+report it as a bug.
 
 Be aware that if this sort of problem occurs in an NTPsec instance
 installed from a binary package, it is almost certainly not an NTPsec


=====================================
pylib/wscript
=====================================
@@ -52,5 +52,5 @@ def build(ctx):
         features='py',
         source=builds+[target1, target2],
         install_from=bldnode,
-        install_path='${PYTHONDIR}/ntp'
+        install_path='${PYTHONARCHDIR}/ntp'
     )



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/8834dc39ea546bcd7f98808e0c635df7fc42ec57

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/8834dc39ea546bcd7f98808e0c635df7fc42ec57
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/20180810/60734d2c/attachment-0001.html>


More information about the vc mailing list