Skip to content

Commit c45963b

Browse files
authored
Support :python option in compile-time config (#48)
1 parent 1700d8b commit c45963b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/pythonx/application.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ defmodule Pythonx.Application do
2626
uv_init_env = Application.compile_env(:pythonx, :uv_init)
2727
pyproject_toml = uv_init_env[:pyproject_toml]
2828
uv_version = uv_init_env[:uv_version] || Pythonx.Uv.default_uv_version()
29-
opts = [uv_version: uv_version]
29+
python = uv_init_env[:python]
30+
opts = [uv_version: uv_version, python: python]
3031

3132
if pyproject_toml do
3233
Pythonx.Uv.fetch(pyproject_toml, true, opts)

0 commit comments

Comments
 (0)