File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ Configure the desired Python version and dependencies in your
118118``` elixir
119119import Config
120120
121- config :pythonx , :uv ,
121+ config :pythonx , :uv_init ,
122122 pyproject_toml: """
123123 [project]
124124 name = "project"
Original file line number Diff line number Diff line change @@ -18,12 +18,9 @@ defmodule Pythonx.Application do
1818 end
1919 end
2020
21- # If configured, Python and dependencies are fetched at compile time,
22- # so we automatically initialize the interpreter on boot.
23- #
24- # TODO: My suggestion would be to call ut :pythonx, :uv_init, to make
25- # it clear it will start the runtime.
26- if pyproject_toml = Application . compile_env ( :pythonx , :uv ) [ :pyproject_toml ] do
21+ # If configured, we fetch Python and dependencies at compile time
22+ # and we automatically initialize the interpreter on boot.
23+ if pyproject_toml = Application . compile_env ( :pythonx , :uv_init ) [ :pyproject_toml ] do
2724 Pythonx.Uv . fetch ( pyproject_toml , true )
2825 defp maybe_uv_init ( ) , do: Pythonx.Uv . init ( unquote ( pyproject_toml ) , true )
2926 else
You can’t perform that action at this time.
0 commit comments