[Git][NTPsec/ntpsec][master] 2 commits: Typo in Python 3 version requirements

Eric S. Raymond gitlab at mg.gitlab.com
Sun Oct 23 04:10:21 UTC 2016


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


Commits:
2b1386c4 by Matt Selsky at 2016-10-22T23:36:28-04:00
Typo in Python 3 version requirements

- - - - -
1faa1be1 by Matt Selsky at 2016-10-22T23:36:28-04:00
Make sure to look for python development environment and set variables

Otherwise python extensions will fail at build-time instead of configure
time.

- - - - -


2 changed files:

- INSTALL
- pylib/wscript


Changes:

=====================================
INSTALL
=====================================
--- a/INSTALL
+++ b/INSTALL
@@ -12,7 +12,7 @@ via getifaddrs(3) or some equivalent facility.
 There are some prerequisites.  Libraries need the binary installed
 to run and in addition, the development headers installed to build.
 
-Python 2.x, x >= 6, or Python 3.x >= 3::
+Python 2.x, x >= 6, or Python 3.x, x >= 3::
    Required to build, and for various scripts such as ntpviz.  Our
    Python code has been written polyglot to also run with production
    versions of Python 3.  Note that you will need both the ordinary


=====================================
pylib/wscript
=====================================
--- a/pylib/wscript
+++ b/pylib/wscript
@@ -4,6 +4,7 @@ def options(opt):
 def configure(conf):
     conf.load('python')
     conf.check_python_version((2, 6, 0))
+    conf.check_python_headers()
 
 def build(ctx):
     srcnode = ctx.srcnode.make_node('pylib')



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/aa240f9b370202e4d46e648216f72927e116f493...1faa1be155898adb9f7bd7abcf9b61c58e7e3b38
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161023/98d084a8/attachment.html>


More information about the vc mailing list