diff --git a/debian/rules b/debian/rules index 029066a8..80370c74 100755 --- a/debian/rules +++ b/debian/rules @@ -1,13 +1,15 @@ #!/usr/bin/make -f export PYBUILD_NAME=swh.web export PYBUILD_OPTION=--test-pytest export PYBUILD_TEST_ARGS=--hypothesis-profile=swh-web-fast ./swh/web/tests +export PYBUILD_BEFORE_TEST=ln -s {dir}/static/ {build_dir}/static +export PYBUILD_AFTER_TEST=rm {build_dir}/static %: dh $@ --with python3 --buildsystem=pybuild override_dh_install: dh_install rm -rfv $(CURDIR)/debian/python3-*/usr/lib/python*/dist-packages/.hypothesis rm -v $(CURDIR)/debian/python3-*/usr/lib/python*/dist-packages/swh/__init__.py