Skip to content

Allow environment variables in config strings. NFC#27215

Open
sbc100 wants to merge 1 commit into
emscripten-core:mainfrom
sbc100:config_vars_expand
Open

Allow environment variables in config strings. NFC#27215
sbc100 wants to merge 1 commit into
emscripten-core:mainfrom
sbc100:config_vars_expand

Conversation

@sbc100

@sbc100 sbc100 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

This allows us to avoid doing things like os.path.expanduser and
os.path.expandvars inside the config files themselves.

This should help pave the way to one day making the config files plain
text rather than python scripts.

See #27219

@sbc100 sbc100 force-pushed the config_vars_expand branch 3 times, most recently from bd44323 to 830e0a5 Compare June 30, 2026 19:52
@sbc100 sbc100 changed the title Config vars expand Allow environment variables in config strings. NFC Jun 30, 2026
This allows us to avoid doing things like `os.path.expanduser` and
`os.path.expandvars` inside the config files themselves.

This should help pave the way to one day making the config files plain
text rather than python scripts.

See emscripten-core#27219
@sbc100 sbc100 force-pushed the config_vars_expand branch from 830e0a5 to 88e1a2a Compare June 30, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant