JuliaPy / JuliaPy/pyjuliapkg

Question regarding `juliapkg.json` file

Open
#51 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
67
Forks
24
PR merge metrics
No merged PRs in 30d

Description

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.

[The docs say that](https://github.com/JuliaPy/pyjuliapkg?tab=readme-ov-file#adding-julia-dependencies-to-python-packages):

> 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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.