Re: Python on NetBSD - /usr/pkg/ vs /usr/local/

2018-02-05 Thread Richard Laager via devel
On 02/05/2018 02:21 PM, Hal Murray via devel wrote: > What's the right fix? As an individual, choose one of these: - echo /usr/local/lib/python2.7/site-packages > \ /usr/pkg/lib/python2.7/site-packages/ntpsec.pth - export PYTHONPATH=/usr/local/lib/python2.7/site-packages - ./waf configure \

Python on NetBSD - /usr/pkg/ vs /usr/local/

2018-02-05 Thread Hal Murray via devel
Python on NetBSD doesn't search /usr/local/lib/ It looks in /usr/pkg/... -bash-4.4$ python Python 2.7.14 (default, Oct 15 2017, 00:57:13) [GCC 4.8.4] on netbsd7 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> print sys.path ['', '/usr/pkg/lib/python27.zi