bare-script 5.1.14__tar.gz → 5.1.15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bare_script-5.1.14/src/bare_script.egg-info → bare_script-5.1.15}/PKG-INFO +1 -1
- {bare_script-5.1.14 → bare_script-5.1.15}/pyproject.toml +1 -1
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script/runtime.py +4 -2
- bare_script-5.1.15/src/bare_script/runtime_c.c +5025 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script/value.py +1 -1
- {bare_script-5.1.14 → bare_script-5.1.15/src/bare_script.egg-info}/PKG-INFO +1 -1
- bare_script-5.1.14/src/bare_script/runtime_c.c +0 -5410
- {bare_script-5.1.14 → bare_script-5.1.15}/LICENSE +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/README.md +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/setup.cfg +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/setup.py +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script/__init__.py +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script/__main__.py +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script/bare.py +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script/include.py +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script/include_source.py +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script/library.py +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script/options.py +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script.egg-info/SOURCES.txt +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script.egg-info/dependency_links.txt +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script.egg-info/entry_points.txt +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script.egg-info/requires.txt +0 -0
- {bare_script-5.1.14 → bare_script-5.1.15}/src/bare_script.egg-info/top_level.txt +0 -0
|
@@ -211,10 +211,12 @@ def _lint_include(options, include_script, include_url):
|
|
|
211
211
|
log_fn(f'BareScript: {warning}')
|
|
212
212
|
|
|
213
213
|
|
|
214
|
-
# Helper to execute a system include library script into a new globals dict
|
|
214
|
+
# Helper to execute a system include library script into a new globals dict, on the package-selected runtime (the
|
|
215
|
+
# C runtime when it's available) - looked up on use because the package imports this module before selecting one
|
|
215
216
|
def _system_include_globals(url):
|
|
217
|
+
package_execute_script = sys.modules[__package__].execute_script
|
|
216
218
|
globals_ = {}
|
|
217
|
-
|
|
219
|
+
package_execute_script({'statements': [{'include': {'includes': [{'url': url, 'system': True}]}}]}, {'globals': globals_})
|
|
218
220
|
return globals_
|
|
219
221
|
|
|
220
222
|
|