aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorThomas Goirand <zigo@debian.org>2015-06-01 08:43:23 +0200
committerThomas Goirand <zigo@debian.org>2015-06-01 08:43:23 +0200
commitc8d021c5252b961aee4b777b61890189fd531e1c (patch)
tree702881cbe3cb10ff45bb1a21ab82996f5de2b933 /debian
parent1e1f4c44f765751c19e69e4a237e803ebe47218d (diff)
downloadfactory-boy-c8d021c5252b961aee4b777b61890189fd531e1c.tar
factory-boy-c8d021c5252b961aee4b777b61890189fd531e1c.tar.gz
Removes .pth file.
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index a0f7e87..98463d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,8 @@ override_dh_auto_install:
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python3-factory-boy; \
done
+ rm -f $(CURDIR)/debian/python*/usr/lib/python*/dist-packages/*.pth
+
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. sphinx-build -b html docs $(CURDIR)/debian/python-factory-boy-doc/usr/share/doc/python-factory-boy-doc/html