[Git][NTPsec/ntpsec][master] Document why our kuge for in-place testing fails under Python 3.

Eric S. Raymond gitlab at mg.gitlab.com
Tue Aug 15 22:14:36 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
7a67682c by Eric S. Raymond at 2017-08-15T18:14:09-04:00
Document why our kuge for in-place testing fails under Python 3.

- - - - -


1 changed file:

- wscript


Changes:

=====================================
wscript
=====================================
--- a/wscript
+++ b/wscript
@@ -1000,11 +1000,16 @@ for command, func, descr in commands:
 
 def afterparty(ctx):
     # Make magic links to support in-tree testing.
+    #
     # The idea is that all directories where the Python tools
     # listed above live should have an 'ntp' symlink so they
     # can import compiled Python modules from the build directory.
     # Also, they need to be able to see the Python extension
     # module built in libntp.
+    #
+    # Note, this kluge falls apart under Python 3, because
+    # waf radically changes the shape of the build directory and
+    # the naming conventions for the product files.
     if ctx.cmd == 'clean' or ctx.cmd == 'distclean':
         ctx.exec_command("rm -fr wafhelpers/*.pyc pylib/__pycache__/*.pyc "
                          "wafhelpers/__pycache__/*.pyc ntpd/version.h "



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7a67682cab45835b3914f1f2effa92bb918b295c

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7a67682cab45835b3914f1f2effa92bb918b295c
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/20170815/82bbb117/attachment.html>


More information about the vc mailing list