Yo Hal!
> Hal Murray pushed to branch master at NTPsec / ntpsec
Neat trick.
=====================================
README-PYTHON
=====================================
--- a/README-PYTHON
+++ b/README-PYTHON
@@ -44,8 +44,8 @@ including root if root uses any ntp scripts.
3: You can add to the default search path by setting up a .pth file
with something like this:
echo /usr/local/lib/python2.7/site-packages > \
- /usr/pkg/lib/python2.7/site-packages/ntpsec.pth
- echo /usr/local/lib64/python2.7/site-packages >> \
- /usr/pkg/lib/python2.7/site-packages/ntpsec.pth
+ /usr/lib/python2.7/site-packages/ntpsec.pth
This works for all users, including root.
+Note that the pth file must be on the default search path.
For clarity, mention it is the PYTHONPATH (sys.path), not PATH, not
MANPATH, etc.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
[email protected] Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
Title:
GitLab
Hal Murray pushed to branch master at NTPsec / ntpsec
Commits:
-
1d72980b
by Hal Murray at 2018-03-14T07:51:27Z
1 changed file:
Changes:
| ... | ... | @@ -44,8 +44,8 @@ including root if root uses any ntp scripts. |
| 44 | 44 |
3: You can add to the default search path by setting up a .pth file
|
| 45 | 45 |
with something like this:
|
| 46 | 46 |
echo /usr/local/lib/python2.7/site-packages > \
|
| 47 |
- /usr/pkg/lib/python2.7/site-packages/ntpsec.pth
|
|
| 48 |
- echo /usr/local/lib64/python2.7/site-packages >> \
|
|
| 49 |
- /usr/pkg/lib/python2.7/site-packages/ntpsec.pth
|
|
| 47 |
+ /usr/lib/python2.7/site-packages/ntpsec.pth
|
|
| 50 | 48 |
This works for all users, including root.
|
| 49 |
+Note that the pth file must be on the default search path.
|
|
| 50 |
+ |
|
| 51 | 51 |
|
_______________________________________________ vc mailing list [email protected] http://lists.ntpsec.org/mailman/listinfo/vc
pgpuM8glfn3lw.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list [email protected] http://lists.ntpsec.org/mailman/listinfo/devel
