If you want to use Python ctypes, I don’t think this PR is enough. See: init_jl_runtime does not work with Python ctypes · Issue #144 · JuliaLang/PackageCompiler.jl · GitHub
For a complete example using Python ctypes, see: AOT compiling using PackageCompiler - #8 by tkf