Skip to content

Question regarding juliapkg.json file #51

@mtsokol

Description

@mtsokol

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:

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions