Skip to content
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

[Feature] Add JuliaWin.ini or JuliaWin.bat for User Configuration for Launcher #64

Closed
RoyiAvital opened this issue Apr 29, 2022 · 5 comments

Comments

@RoyiAvital
Copy link

Add the functionality of winpython.ini file which allows defining System Variables / Environment Variables to be applied to all launchers.

@heetbeet
Copy link
Owner

heetbeet commented Sep 27, 2022

From v1.8.1-0 if the file userdata\startup.cmd or userdata\startup.bat exists, it will be automatically executed at the end of the activate-juliawin-environment routine (to grant the opportunity to change/overwrite those variables as well).

@RoyiAvital
Copy link
Author

Could we write some documentation? What activate-julia-environment defines?

@heetbeet
Copy link
Owner

juliawin_home = absolute path of base directory
juliawin_bin = %juliawin_home%\bin
juliawin_packages = %juliawin_home%\packages
juliawin_userdata = %juliawin_home%\userdata
juliawin_sh = juliawin_packages%\git\bin\sh.exe or %PROGRAMFILES<(x86)>%\Git\bin\sh.exe or sh.exe from where git
juliawin_activated = 1

JULIA_DEPOT_PATH = %juliawin_userdata%\.julia
CONDA_JL_HOME = %juliawin_packages%\conda
PYTHON = empty by use of %JULIA_DEPOT_PATH%\config\startup.jl, since bat cannot set empty variables

The following directories are added to PATH

  • %juliawin_packages%\julia\bin
  • %juliawin_packages%\curl\bin
  • %juliawin_packages%\vscode

@heetbeet
Copy link
Owner

Above is a summary of what the activate script sets, I'm not sure where to properly document it. PRs are welcome

@RoyiAvital
Copy link
Author

I started with the Wiki: https://github.com/heetbeet/juliawin/wiki/Setting-System-Variables-(Environment-Variables)

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

No branches or pull requests

2 participants