Add dead imports of modules that are "magically" imported.
diff --git a/Lib/codecs.py b/Lib/codecs.py
index b3c2f71..ebcec1c 100644
--- a/Lib/codecs.py
+++ b/Lib/codecs.py
@@ -575,6 +575,12 @@
             m[v] = None
     return m
 
+# Tell modulefinder that using codecs probably needs the encodings
+# package
+_false = 0
+if _false:
+    import encodings
+
 ### Tests
 
 if __name__ == '__main__':