pyjuliapkg
pyjuliapkg copied to clipboard
Question regarding `juliapkg.json` file
Hi! I have a Python package that uses JuliaCall. It has a few Julia packages as dependencies which I have defined in juliapkg.json that is present in the wheel.
JuliaPkg looks for juliapkg.json files in many locations, namely:
- {project}/pyjuliapkg where project is as above (depending on your environment).
- Every directory and direct sub-directory in sys.path. The last point means that if you put a juliapkg.json file in a package, then install that package, then JuliaPkg will find those dependencies and install them.
Then it means that if I had two (or more) different Python packages in my env that use juliapkg and have juliapkg.json then all of them will pick only the first juliapkg.json that comes from sys.path dir search right? Then there should some mechanism differentiating between packages when searching for respective juliapkg.json files. WDYT?
No, it finds all these files and merges them together.