I am working on a python package that relies heavily on a Julia library. Rather than use PyCall, we actually compile the Julia code down into shared objects .so
files using PackageCompiler.jl
. It is referenced using ctypes
in the python module. It also requires a Julia systemimage.
Does anyone have any ideas on how to package this? I know that you can build C/C++ inside of distutils
, but I haven't really found a good venue for including Julia across multiple platforms.
To be clear here, for someone to use this Python package they need a Julia installation and they need the appropriate shared object libraries for their system. Those can be gotten by running the Julia compiler juliac.jl
. Everything else is in Python.