Patchwork D8122: pyoxidizer: allow extensions to be loaded from the file system

login
register
mail settings
Submitter phabricator
Date Feb. 26, 2020, 3:32 p.m.
Message ID <4014ba14b72046874ff7a1115506db91@localhost.localdomain>
Download mbox | patch
Permalink /patch/45323/
State Not Applicable
Headers show

Comments

phabricator - Feb. 26, 2020, 3:32 p.m.
Closed by commit rHG4e3dbb48ef76: pyoxidizer: allow extensions to be loaded from the file system (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8122?vs=20234&id=20309

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8122/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8122

AFFECTED FILES
  contrib/packaging/pyoxidizer.bzl

CHANGE DETAILS




To: martinvonz, #hg-reviewers, indygreg
Cc: mharbison72, mercurial-devel

Patch

diff --git a/contrib/packaging/pyoxidizer.bzl b/contrib/packaging/pyoxidizer.bzl
--- a/contrib/packaging/pyoxidizer.bzl
+++ b/contrib/packaging/pyoxidizer.bzl
@@ -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,