diff --git a/include/package.mk b/include/package.mk
index 0c8886c784c2132bccea921ce7af605e50008244..591816b7559d63ea8adb839b72699c8de2ca6d14 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -125,17 +125,6 @@ define Build/Compile
   $(call Build/Compile/Default,)
 endef
 
-define Build/Compile/PyMod
-	( cd $(PKG_BUILD_DIR); \
-		CFLAGS="$(TARGET_CFLAGS)" \
-		CPPFLAGS="$(TARGET_CPPFLAGS)" \
-		LDFLAGS="$(TARGET_LDFLAGS)" \
-		$(1) \
-		$(STAGING_DIR)/usr/bin/hostpython ./setup.py $(2) \
-			--prefix="$(PKG_INSTALL_DIR)/usr" \
-	)
-endef
-
 $(PACKAGE_DIR):
 	mkdir -p $@
 		
diff --git a/scripts/pylibdir.py b/scripts/pylibdir.py
deleted file mode 100755
index 05b5afbdb23752016e86f3f36d0ccded94ac9c57..0000000000000000000000000000000000000000
--- a/scripts/pylibdir.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# Note #! intentionally left out.  This should be called with the version of 
-# python you care about.
-
-import sys
-print ("/usr/lib/python%s.%s/site-packages" % (sys.version_info[0], sys.version_info[1],))