summaryrefslogtreecommitdiffstats
path: root/Python/frozen.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/frozen.c')
-rw-r--r--Python/frozen.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/Python/frozen.c b/Python/frozen.c
index 7e04f3c..f1901d2 100644
--- a/Python/frozen.c
+++ b/Python/frozen.c
@@ -4,6 +4,7 @@
#include "Python.h"
#include "importlib.h"
#include "importlib_external.h"
+#include "importlib_zipimport.h"
/* In order to test the support for frozen modules, by default we
define a single frozen module, __hello__. Loading it will print
@@ -29,9 +30,12 @@ static unsigned char M___hello__[] = {
static const struct _frozen _PyImport_FrozenModules[] = {
/* importlib */
- {"_frozen_importlib", _Py_M__importlib, (int)sizeof(_Py_M__importlib)},
- {"_frozen_importlib_external", _Py_M__importlib_external,
- (int)sizeof(_Py_M__importlib_external)},
+ {"_frozen_importlib", _Py_M__importlib_bootstrap,
+ (int)sizeof(_Py_M__importlib_bootstrap)},
+ {"_frozen_importlib_external", _Py_M__importlib_bootstrap_external,
+ (int)sizeof(_Py_M__importlib_bootstrap_external)},
+ {"zipimport", _Py_M__zipimport,
+ (int)sizeof(_Py_M__zipimport)},
/* Test module */
{"__hello__", M___hello__, SIZE},
/* Test package (negative size indicates package-ness) */