[Git][NTPsec/ntpsec][master] Added check of python install directories in PYTHONPATH.

Gary E. Miller gitlab at mg.gitlab.com
Fri Aug 31 23:34:07 UTC 2018


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
8de92230 by Ian Bruene at 2018-08-31T23:34:01Z
Added check of python install directories in PYTHONPATH.

- - - - -


1 changed file:

- wscript


Changes:

=====================================
wscript
=====================================
@@ -1100,6 +1100,9 @@ def build(ctx):
         if "PYTHONPATH" not in os.environ:
             print("--- PYTHONPATH is not set, "
                   "loading the Python ntp library may be troublesome ---")
+        elif ctx.env.PYTHONARCHDIR not in os.environ["PYTHONPATH"]:
+            print("--- PYTHONDARCHIR not in PYTHONPATH"
+                  "loading the Python ntp library may be troublesome ---")
 
 #
 # Boot script setup



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/8de92230535168d5217bc7fa78fe08b5d896d4c3

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/8de92230535168d5217bc7fa78fe08b5d896d4c3
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/20180831/da22645c/attachment.html>


More information about the vc mailing list