Force PDM to use venv as backend in the install script

This commit is contained in:
Donkie
2023-11-06 22:09:26 +01:00
parent 97fca7640a
commit dcf9a8f393

View File

@@ -115,6 +115,9 @@ fi
# Install PDM dependencies
echo -e "${GREEN}Installing Spoolman backend and its dependencies using PDM...${NC}"
# Force PDM to use venv. The default is virtualenv which has had some compatibility issues
pdm config venv.backend venv || exit 1
pdm sync --prod --no-editable || exit 1
# Get version number from pyproject.toml