# HG changeset patch # User Martin von Zweigbergk # Date 1581636816 28800 # Node ID 6689cebacb329d0cd7b13cca4af6e1647eba5681 # Parent 218feb1a7e009507b56292b6ef467870475f2d39 pyoxidizer: allow extensions to be loaded from the file system It seems that setting this config is all that's needed to be able to load extensions from the file system (which we clearly want). Thanks for making this work, Gregory Szorc!. Differential Revision: https://phab.mercurial-scm.org/D8122 diff -r 218feb1a7e00 -r 6689cebacb32 contrib/packaging/pyoxidizer.bzl --- a/contrib/packaging/pyoxidizer.bzl Mon Feb 17 20:30:03 2020 -0500 +++ b/contrib/packaging/pyoxidizer.bzl Thu Feb 13 15:33:36 2020 -0800 @@ -21,6 +21,8 @@ config = PythonInterpreterConfig( raw_allocator = "system", run_eval = code, + # We want to let the user load extensions from the file system + filesystem_importer = True, # We need this to make resourceutil happy, since it looks for sys.frozen. sys_frozen = True, legacy_windows_stdio = True,