Skip to content

Commit 4ab3d44

Browse files
tkfstevengj
authored andcommitted
Make PyJulia work with --compiled-module=no (#648)
1 parent 9a084eb commit 4ab3d44

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/startup.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ else
8080
# If we're not in charge, assume the user is installing necessary python
8181
# libraries rather than messing with their configuration
8282
const conda = false
83+
# Top-level code (`_current_python`) needs `pyprogramname`. We
84+
# don't need its value but we need to assign something to it:
85+
const pyprogramname = ""
8386
end
8487

8588
const pyversion = vparse(split(Py_GetVersion(libpy_handle))[1])

0 commit comments

Comments
 (0)