Hell andreas

for numexpr we are doing like this.
you need to set the PYTHONPATh in order to find the extension


override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))

        set -e -x;\
        for py in $(PY2VERS) $(PY3VERS); do \
                cd $(CURDIR)/build/lib.*-$$py;\
                env PYTHONPATH=. python$$py numexpr/tests/test_numexpr.py;\
                cd $(CURDIR)/build/lib.*-$$py-pydebug;\
                env PYTHONPATH=. python$$py-dbg numexpr/tests/test_numexpr.py;\
        done

endif


cheers

Fred

--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/a2a20ec3b8560d408356cac2fc148e53b1d24...@sun-dag1.synchrotron-soleil.fr

Reply via email to