-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
rename JULIA_HOME? #20899
Comments
+1. We could also use |
Probably |
|
Accepted on the milestone, but the first task is to figure out what the name should be. Research on prior art in other languages is necessary. |
In Python it's called >>> import distutils.sysconfig as sc
>>> sc.get_config_var('BINDIR')
'/usr/local/bin' They also have >>> import sys
>>> print sys.executable
/usr/bin/python |
Here's my argument for the prefix being the most basic thing we allow overriding:
Putting these points together, I think we should use the GNU directory variables as a guide and have this arrangement for environment variables and corresponding Julia variables with defaults:
|
In that case the
These won't work. According to your current scheme it's |
Right,
|
Other that the default value, the variable name is pretty standard for build system so it looks good to me. I don't think we necessarily have to bound to one default value on all systems either, they can all be set to a specific value relative to prefix at build time, on platform without a working package manager/for standalone binary build, they can certainly be changed (from what we currently use) to give a flatter directory structure if people like that.................. |
I should also say that one of my biggest annoyances in PyCall was just figuring out where I think the main thing is to have It would also be good to have |
Seems like this could happen in 1.x, we'd just have to tell people that the new things are better and then remove |
Right, these don't need to all happen in 1.0; I think that all we need in 1.0 is to rename |
…]" This reverts commit 6885af8.
ENV["JULIA_HOME"] => ENV["JULIA_BINDIR"]
ENV["JULIA_HOME"] => ENV["JULIA_BINDIR"]
ENV["JULIA_HOME"] => ENV["JULIA_BINDIR"]
ENV["JULIA_HOME"] => ENV["JULIA_BINDIR"]
ENV["JULIA_HOME"] => ENV["JULIA_BINDIR"]
ENV["JULIA_HOME"] => ENV["JULIA_BINDIR"]
JULIA_HOME
is a bit confusingly named since it's home from the perspective of thejulia
program, not the home of julia-related files from the user's perspective. We should always talk about user-facing matters from the user's perspective, so I propose that we renameJULIA_HOME
toJULIA_BIN_DIR
. Ultimately, it would be nice forJULIA_HOME
to be the user's Julia directory, (i.e. currentlyJULIA_PKGDIR
but including rc files and such) but we may need a different name for backwards compatibility, likeJULIA_USER_HOME
.The text was updated successfully, but these errors were encountered: