PYTHON: added venv creation

This commit is contained in:
2026-10-20 17:42:25 -04:00
parent 0f542d56ef
commit 57e8eb0248
4 changed files with 53 additions and 160 deletions
+3
View File
@@ -33,6 +33,9 @@ function M.create_project(opts)
dump("spec", "pyproject.toml", "pyproject")
utils.init_git(root, "python")
local venv_path = root .. "/venv"
vim.fn.system("python3 -m venv " .. venv_path)
vim.cmd.edit(vim.fn.fnameescape(bin))
end)
end