-
Notifications
You must be signed in to change notification settings - Fork 67
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
Hooks into startup #72
Comments
The opaqueness is intentional, so that multiple packages all depending on JuliaCall can coexist. The only way a typical user should customise things is to specify dependencies in a juliacalldeps.json file. Dependencies from different packages are all merged and resolved together. If the user really wants to specify the Julia executable to use, they can set the environment variable Something not currently supported is adding Julia packages from registries other than General. I could add an entry to juliacalldeps.json to support that. As you say, a workaround is to pass the URL of the package instead, but you don't get as good dependency resolution that way. |
Why don't you have the user create a Julia-native |
Yeah |
pyjulia allows me to choose path to the julia executable like this
I use this to provide several ways for the user to specify which Julia to use. A related question is whether juliacall supports development versions of Julia. It's not possible to try because the process of looking for a version of Julia (in the user's path, I suppose) and downloading a Julia is opaque with no hooks as far as I can tell.
Currently I
./julia/
in the top level in case the user put it there. 3) Look in the user's pathThe other side of the coin, a big disadvantage of pyjulia compared to juliacall, is that I have to manage all of this myself in pyjulia, and for all platforms (but I only develop in linux). juliacall has a lot of machinery for locating julia executables and managing dependencies and does it for three platforms. This makes juliacall very attractive. So I'm wondering if there are some undocumented ways to achieve some of the items above. Even if there are not, I'd like to try juliacall because of the additional flexibility in controlling conversion.
One workaround is
The text was updated successfully, but these errors were encountered: