Open fjuniorr opened 2 years ago
O pacote renv
, que implementa gerenciamento de dependências para o R utiliza uma pasta chamada renv/
dentro do projeto para armazenar a biblioteca (vide docs).
Para manter essa similaridade entre R e Python, vamos usar a convenção de localização por projeto e nome genérico venv
.
Ou seja, a pasta com o ambiente virtual possui o nome do pacote que criou o ambiente (renv
ou venv
).
Existem pelo menos duas decisões relevantes para gerenciamento de ambientes virtuais, localização e nome, gerando as seguintes alternativas:
~/.virtualenvs
) com nome por projeto (eg.my-project
)my-project/
) com nome genérico (eg.venv/
ou.venv/
)my-project/
) com nome por projeto (eg.my-project
ou.my-project
)Links