##// END OF EJS Templates
pyoxidizer: update to PyOxidizer 0.9...
Gregory Szorc -
r46341:f95b1679 stable
parent child Browse files
Show More
@@ -75,7 +75,7 b' sudo -H -u hg -g hg ./rustup-init -y'
75 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup install 1.31.1 1.46.0
75 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup install 1.31.1 1.46.0
76 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup component add clippy
76 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup component add clippy
77
77
78 sudo -H -u hg -g hg /home/hg/.cargo/bin/cargo install --git https://github.com/indygreg/PyOxidizer.git --rev 4697fb25918dfad6dc73288daeea501063963a08 pyoxidizer
78 sudo -H -u hg -g hg /home/hg/.cargo/bin/cargo install --version 0.9.0 pyoxidizer
79 '''
79 '''
80
80
81
81
@@ -125,7 +125,7 b' function Install-Rust($prefix) {'
125 Invoke-Process "${prefix}\cargo\bin\rustup.exe" "component add clippy"
125 Invoke-Process "${prefix}\cargo\bin\rustup.exe" "component add clippy"
126
126
127 # Install PyOxidizer for packaging.
127 # Install PyOxidizer for packaging.
128 Invoke-Process "${prefix}\cargo\bin\cargo.exe" "install --git https://github.com/indygreg/PyOxidizer.git --rev 4697fb25918dfad6dc73288daeea501063963a08 pyoxidizer"
128 Invoke-Process "${prefix}\cargo\bin\cargo.exe" "install --version 0.9.0 pyoxidizer"
129 }
129 }
130
130
131 function Install-Dependencies($prefix) {
131 function Install-Dependencies($prefix) {
@@ -39,18 +39,18 b' def make_exe(dist):'
39 # Extension may depend on any Python functionality. Include all
39 # Extension may depend on any Python functionality. Include all
40 # extensions.
40 # extensions.
41 packaging_policy.extension_module_filter = "all"
41 packaging_policy.extension_module_filter = "all"
42 packaging_policy.resources_policy = "prefer-in-memory-fallback-filesystem-relative:lib"
42 packaging_policy.resources_location = "in-memory"
43 packaging_policy.resources_location_fallback = "filesystem-relative:lib"
43 packaging_policy.register_resource_callback(resource_callback)
44 packaging_policy.register_resource_callback(resource_callback)
44
45
45 config = PythonInterpreterConfig(
46 config = dist.make_python_interpreter_config()
46 raw_allocator = "system",
47 config.raw_allocator = "system"
47 run_eval = RUN_CODE,
48 config.run_mode = "eval:%s" % RUN_CODE
48 # We want to let the user load extensions from the file system
49 # We want to let the user load extensions from the file system
49 filesystem_importer = True,
50 config.filesystem_importer = True
50 # We need this to make resourceutil happy, since it looks for sys.frozen.
51 # We need this to make resourceutil happy, since it looks for sys.frozen.
51 sys_frozen = True,
52 config.sys_frozen = True
52 legacy_windows_stdio = True,
53 config.legacy_windows_stdio = True
53 )
54
54
55 exe = dist.to_python_executable(
55 exe = dist.to_python_executable(
56 name = "hg",
56 name = "hg",
@@ -104,5 +104,5 b' resolve_targets()'
104 # Everything below this is typically managed by PyOxidizer and doesn't need
104 # Everything below this is typically managed by PyOxidizer and doesn't need
105 # to be updated by people.
105 # to be updated by people.
106
106
107 PYOXIDIZER_VERSION = "0.8.0-pre"
107 PYOXIDIZER_VERSION = "0.9.0"
108 PYOXIDIZER_COMMIT = "4697fb25918dfad6dc73288daeea501063963a08"
108 PYOXIDIZER_COMMIT = "1fbc264cc004226cd76ee452e0a386ffca6ccfb1"
General Comments 0
You need to be logged in to leave comments. Login now