Skip to content

Commit

Permalink
tweak deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Oct 24, 2024
1 parent ae1f3d1 commit d03b8ff
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/SlimPlotting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ function tryimport(pkg::String)
pyi = try
PythonPlot.pyimport(pkg)
catch e
pyexe = PythonPlot.PythonCall.python_executable_path()
run(Cmd(`$(pyexe) -m pip install --user $(pkg)`))
PythonPlot.PythonCall.pyimport(pkg)
if get(ENV, "JULIA_CONDAPKG_BACKEND", "conda") == "Null"

This comment has been minimized.

Copy link
@mloubout

mloubout Oct 24, 2024

Author Member
pyexe = PythonPlot.python_executable_path()
run(Cmd(`$(pyexe) -m pip install --user $(pkg)`))
else
PythonPlot.PythonCall.C.CondaPkg.add_pip(pkg)
end
PythonPlot.pyimport(pkg)
end
return pyi
end
Expand Down

1 comment on commit d03b8ff

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/117989

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.0.0 -m "<description of version>" d03b8ffc99339ea422cc92711438c1597a32d3d2
git push origin v1.0.0

Please sign in to comment.