diff --git a/Makefile b/Makefile
index c5ff73b6f15438c1799fe0c7a36cfd4fa3b5dc6d..b4de293ab01f0d3f2f904a9ff97eb961a3376f20 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ install-dev:
 
 install-runtime:
 	$(INSTALL) -m 755 -d $(DESTDIR)$(PREFIX)/share/python/debpython $(DESTDIR)$(PREFIX)/bin
-	$(INSTALL) -m 644 debpython/* $(DESTDIR)$(PREFIX)/share/python/debpython/
+	$(INSTALL) -m 644 debpython/*py $(DESTDIR)$(PREFIX)/share/python/debpython/
 	$(INSTALL) -m 755 pycompile $(DESTDIR)$(PREFIX)/bin/
 	$(INSTALL) -m 755 pyclean $(DESTDIR)$(PREFIX)/bin/
 
diff --git a/debian/python-dev.dirs b/debian/python-dev.dirs
index d8677c55c4ac3b473ef3b52e9e65c0ae215716ef..415f082dd910d68018bafc3092793db6a06ebf68 100644
--- a/debian/python-dev.dirs
+++ b/debian/python-dev.dirs
@@ -1,3 +1 @@
 /usr/bin
-/usr/share/python/runtime.d
-/usr/share/debhelper/autoscripts