-
Notifications
You must be signed in to change notification settings - Fork 317
winpython.ini (changing environment variables) #266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
It seems, I 'm missing something obvious. This is overwriting - what I mean is the syntax for appending (for example: what a windows shell with "set PATH=%PATH%;my_lovely_path" does). Supports this ini file the concept of variable expanding? |
no. if you are expert in NSIS scripting, the code is apparently there https://github.com/winpython/winpython/blob/master/portable/launcher.nsi (line 206 to 216) |
the Winpython.ini doesn't support expanding, but the new 'student' method would do for you #262 (comment) (or see todays builds with #268) Just use the '(student)' icons and change what you don't like in "env_for_student.bat" |
I could try complexify further the nsis scripts, but I'm now rather going on the opposite route:
|
I was hoping to exploit the changed PATH w/o using any batch file or similar (in my case to locate some CUDA tools for theano, but this has been solved by utilizing .theanorc). |
ok. I keep the issue open as I try to rework and simplify this part, yet making it more flexible. |
The new configuration and icon system works with |
solved by #272 |
There is some documentation at https://sourceforge.net/p/winpython/wiki/Environment/ regarding overwriting environment variables.
I'm the only one, missing the syntax for appending/modifying an existing variable? For PATH as a salient example, this is the much more likely scenario. Not sure, if this is a documentation glitch or something currently not possible. Could someone clarify?
The text was updated successfully, but these errors were encountered: