You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The Script in env_for_icons.bat No Longer Calls for env.bat #1927
If you want to reduce the surface of batch files, why 2 files which sets different environments?
The portability is broken as env.bat defines set HOME=%WINPYDIRBASE%\settings.
Which means, the programs which use the user home, writes settings there.
So if the folder moves, settings move with it.
Since env_for_icons.bat does not define it, the computer default %HOME% is used.
I suggest to have a single file to set the environment.
By the way, not all applications respect %HOME%.
I for one adds (I create the folders as well):
Activity
RoyiAvital commentedon Dec 29, 2025
This basically broke all portability of the WinPython system.
RoyiAvital commentedon Dec 29, 2025
I think the whole architecture of the project should be streamlined into a single
winpythonenv.batfile and launchers.What prevents that?
Better yet, do it using PowerShell.
stonebig commentedon Dec 30, 2025
Why do you say it "basically" broke something ? Example ?
The change you see was done a release ago, as trying to reduce DOS lines to zero.
Reasoning was that:
Rechecking, the only change I see is a missing "set PYTHONIOENCODING=utf-8", that is maybe a mistake.
RoyiAvital commentedon Dec 30, 2025
If you want to reduce the surface of batch files, why 2 files which sets different environments?
The portability is broken as
env.batdefinesset HOME=%WINPYDIRBASE%\settings.Which means, the programs which use the user home, writes settings there.
So if the folder moves, settings move with it.
Since
env_for_icons.batdoes not define it, the computer default%HOME%is used.I suggest to have a single file to set the environment.
By the way, not all applications respect
%HOME%.I for one adds (I create the folders as well):
This gives me full portability.
the env.bat not called and pwsh variables
stonebig commentedon Jan 1, 2026
ok, so:
Winpythonini.py gets its dataset from the:
RoyiAvital commentedon Jan 1, 2026
Have you also dropped
env_for_icons.bat?I don't see the point in having 2 files to set a single configuration.
stonebig commentedon Jan 1, 2026
env.bat may go away at some point
RoyiAvital commentedon Jan 2, 2026
I think currently
env_for_icons.batshould be gone. There is not point in both.