[Git][NTPsec/ntpsec][master] Changed to PYTHONARCHDIR.
Eric S. Raymond
gitlab at mg.gitlab.com
Mon Aug 13 15:00:47 UTC 2018
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
b135c446 by Ian Bruene at 2018-08-13T15:00:39Z
Changed to PYTHONARCHDIR.
- - - - -
3 changed files:
- devel/testing.txt
- libntp/wscript
- pylib/wscript
Changes:
=====================================
devel/testing.txt
=====================================
@@ -31,7 +31,8 @@ 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 directory specified by
-Python itself, which is reported as PYTHONDIR near the end of the configure
+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,
=====================================
libntp/wscript
=====================================
@@ -59,7 +59,7 @@ def build(ctx):
# platforms, PYTHONARCHDIR == PYTHONDIR, anyway.
ctx(
features="c cshlib bld_include src_include pyext",
- install_path='${PYTHONDIR}/ntp',
+ install_path='${PYTHONARCHDIR}/ntp',
includes=includes,
source=["pymodule.c"] + libntp_source_sharable,
target="../pylib/ntpc", # Put the output in the pylib directory
=====================================
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/b135c4462eb1e409d842b15dbbf7e9803887518f
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/b135c4462eb1e409d842b15dbbf7e9803887518f
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/20180813/7c2149f7/attachment-0001.html>
More information about the vc
mailing list