-
I am trying to write a compiled wrapper that runs Python programs via WinPython, passing an environment similar to the environment that is set up by I have tried comparing the environments generated by my wrapper and by What am I missing? Things I have double checked:
Why it matters for me: I don't actually need to configure anything through |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 2 replies
-
I finally figured out that |
Beta Was this translation helpful? Give feedback.
-
Indeed, this is this beautiful line:
As you can't propagate upward a change of variables, you have to "replay" the output kindly generated per WinpythonIni.py |
Beta Was this translation helpful? Give feedback.
-
Where did the functionality of |
Beta Was this translation helpful? Give feedback.
-
Hu ? Hummm, did I forgot to force generate it at first icon click ? |
Beta Was this translation helpful? Give feedback.
-
apparently i did remove the "useless otherwise" call to get that winpython.ini generated per winpythonini.py. so until you try an icon, it's not created ... someone has to find where that overkill broomstick gesture happened |
Beta Was this translation helpful? Give feedback.
-
before summer 2024 settings/winpython.ini was created if empty per env.bat |
Beta Was this translation helpful? Give feedback.
I finally figured out that
winpython.ini
is actually handled inenv_for_icons.bat
, not env.batand that it is converted into commands that are executed from within that batch file that do things like setting environment variables, so that's why nothing in
winpython.ini` was having any effect.