pdm-project / pdm-venv

A plugin for pdm that enables virtualenv management
https://pdm-project.github.io/pdm-venv
MIT License
24 stars 4 forks source link

Is there an option to create the virtualenv in project folder? (similar to Poetry) #30

Closed Indiana3714 closed 2 years ago

Indiana3714 commented 2 years ago

Is your feature request related to a problem? Please describe.

I still use a virtualenv for my projects since it is easier since VSCode is able to automatically detect a venv folder if it is in the workspace directory, and hence all type hintings/imports get detected automatically without any further steps required.

Describe the solution you'd like

Something similar that was implemented for Poetry https://github.com/python-poetry/poetry/issues/108

Poetry has a config key as follows:

virtualenvs.in-project = true
frostming commented 2 years ago

The venv support is in the plugin https://github.com/pdm-project/pdm-venv, I will transfer this issue there

frostming commented 2 years ago

Duplicate with #20 Close this now