Describe the bug
As mentioned in docs if pdm config venv.in_project is set to true, then virtual-env is created in project directory. This feature is not working while using pdm venv create.
To Reproduce
Steps to reproduce the behavior:
Go to project directory (after plugin is installed)
Run command pdm config venv.in_project True and then pdm venv create
Expected behavior
A virtual-env should have been created in the project directory.
Current behavior
Virtual env is getting created in the location specified under venv.location config
Screenshots
NA
System :
pdm-venv version: 0.4.0
Python version: 3.10 (all)
OS: MacOS (all)
Additional context
As create method supports in_project argument, but it is always falling back to default value, due to in create command this argument is not passed from the project config.
Describe the bug As mentioned in docs if pdm config
venv.in_project
is set to true, then virtual-env is created in project directory. This feature is not working while usingpdm venv create
.To Reproduce Steps to reproduce the behavior:
pdm config venv.in_project True
and thenpdm venv create
Expected behavior A virtual-env should have been created in the project directory.
Current behavior Virtual env is getting created in the location specified under
venv.location
configScreenshots NA
System :
pdm-venv
version: 0.4.0Additional context As create method supports
in_project
argument, but it is always falling back to default value, due to in create command this argument is not passed from the project config.