From 1af61bc0ec0349ab7681b4119da332f2ddc97c1f Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Sun, 17 Feb 2019 10:24:40 -0800 Subject: [PATCH] Make PyJulia work with --compiled-module=no --- src/startup.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/startup.jl b/src/startup.jl index 9fa98e6d..b0cfb372 100644 --- a/src/startup.jl +++ b/src/startup.jl @@ -80,6 +80,9 @@ else # If we're not in charge, assume the user is installing necessary python # libraries rather than messing with their configuration const conda = false + # Top-level code (`_current_python`) needs `pyprogramname`. We + # don't need its value but we need to assign something to it: + const pyprogramname = "" end const pyversion = vparse(split(Py_GetVersion(libpy_handle))[1])