Skip to content

Commit

Permalink
add user packages to sys.path
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilith Hafner authored and Lilith Hafner committed Oct 5, 2023
1 parent 0542b83 commit 15e115b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/python/pycall.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
using PyCall, SciMLBase, OrdinaryDiffEq

py""" # TODO: upstream this into PyCall
from pip import _internal
_internal.main(['install', 'julia'])
py""" # This is a mess because normal site-packages is not writeable in CI
import pip, site, sys
pip._internal.main(['install', '--user', 'julia'])
sys.path.append(site.getusersitepackages())
"""

@testset "numargs" begin
Expand Down

0 comments on commit 15e115b

Please sign in to comment.