Ludovic Courtès writes: >> + 'install 'wrap-program >> + (lambda* (#:key outputs #:allow-other-keys) >> + (let ((out (assoc-ref %outputs "out")) >> + (path (getenv "PYTHONPATH"))) >> + (wrap-program (string-append out "/bin/idr") >> + `("PYTHONPATH" ":" prefix (,path)))) > > Taking $PYTHONPATH as is has the effect of keeping a reference to Cython > and to setuptools, which may not be what you want, given that they are > listed as ‘native-inputs’. > > Should it instead explicitly list SciPy, NumPy, and Matplotlib? You are right. Is the attached patch better?