Startup file
- Dominant language
- Python
- Stars
- 893
- Forks
- 101
- PR merge metrics
- No merged PRs in 30d
Description
I think pyjulia has inconsistency in how startup file (`~/.juliarc.jl` / `~/.julia/config/startup.jl`) is treated.
When Julia information is extracted via subprocess, the startup file is executed:
https://github.com/JuliaPy/pyjulia/blob/2eb704c33d6f639b41300023e16f910b5945600e/julia/core.py#L254-L270
On the other hand, it seems that the startup file is not run inside libjulia loaded into Python process.
Rather than just making it consistent (which is as easy as passing `--startup-file=no` to subprocess), I suggest to make startup file loading configurable by adding a parameter `startup_file` (say) to `Julia` constructor. This way, user can control, e.g., package discovery https://docs.julialang.org/en/latest/stdlib/Pkg3/
What do you think?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.