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

Richard Laager rlaager at wiktel.com
Mon Feb 5 20:46:44 UTC 2018


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 \
  --pythondir=/usr/pkg/lib/python2.7/site-packages \
  --pythonarchdir=/usr/pkg/lib/python2.7/site-packages

Alternatively:

- Patch NetBSD to search /usr/local/lib/python2.7/site-packages

-- 
Richard


More information about the devel mailing list