On Wed, Sep 21, 2011 at 23:15, Filipe Pires Alvarenga Fernandes <ocef...@gmail.com> wrote: > Don't know about about Debian, but this works OK for RPM distros: > > PYTHONPATH="%{buildroot}%{py_sitedir}" %{__python} -c \ > "import pkg_resources, numpy ; > numpy.test()" > > The only thing you are missing is the "import pkg_resources", let me > know if that works for you.
Ok it works: I have to run tests from the installed location and not from the build/ subdir; Thanks!! Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion