Skip to content

Commit aceb072

Browse files
Update pythoncall.jl
1 parent aba9806 commit aceb072

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/python/pythoncall.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
using DifferentialEquations, PythonCall
22

3+
py""" # This is a mess because normal site-packages is not writeable in CI
4+
import subprocess, sys, site
5+
subprocess.run([sys.executable, '-m', 'pip', 'install', '--user', 'julia'])
6+
subprocess.run([sys.executable, '-m', 'pip', 'install', '--user', 'diffeqpy'])
7+
sys.path.append(site.getusersitepackages())
8+
"""
9+
310
@testset "Use of DifferentialEquations through PythonCall with user code written in Python" begin
411
pyexec("""
512
from juliacall import Main

0 commit comments

Comments
 (0)