PYTHON: added venv creation

This commit is contained in:
DarthMooMancer committed 2026-10-20 17:42:25 -04:00
1 parent 0f542d56ef
commit 57e8eb0248
4 files changed
+53 -160

No files matched your search

+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