rust/hgcli/pyoxidizer.bzl
changeset 45832 867385f45559
parent 45831 f14c33b2e497
child 45879 5d73d3053d92
equal deleted inserted replaced
45831:f14c33b2e497 45832:867385f45559
    47         packaging_policy.resources_location_fallback = "filesystem-relative:lib"
    47         packaging_policy.resources_location_fallback = "filesystem-relative:lib"
    48     packaging_policy.register_resource_callback(resource_callback)
    48     packaging_policy.register_resource_callback(resource_callback)
    49 
    49 
    50     config = dist.make_python_interpreter_config()
    50     config = dist.make_python_interpreter_config()
    51     config.raw_allocator = "system"
    51     config.raw_allocator = "system"
    52     config.run_mode = "eval:%s" % RUN_CODE
    52     config.run_command = RUN_CODE
    53     # We want to let the user load extensions from the file system
    53     # We want to let the user load extensions from the file system
    54     config.filesystem_importer = True
    54     config.filesystem_importer = True
    55     # We need this to make resourceutil happy, since it looks for sys.frozen.
    55     # We need this to make resourceutil happy, since it looks for sys.frozen.
    56     config.sys_frozen = True
    56     config.sys_frozen = True
    57     config.legacy_windows_stdio = True
    57     config.legacy_windows_stdio = True