Skip to content

Commit

Permalink
Work-a-round for pypa/setuptools#3278
Browse files Browse the repository at this point in the history
Create .venv, so that Poetry will use it.

See: pypa/setuptools#3278 (comment)
  • Loading branch information
jedie committed Nov 13, 2022
1 parent 9fd42df commit 87ecc98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions poetry-python/{{cookiecutter.package_name}}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ install-poetry: ## install or update poetry
curl -sSL https://install.python-poetry.org | python3 -

install: check-poetry ## install project via poetry
python3 -m venv .venv
poetry install

update: check-poetry ## update the sources and installation and generate "conf/requirements.txt"
python3 -m venv .venv
poetry self update
poetry update -v
poetry install
Expand Down

0 comments on commit 87ecc98

Please sign in to comment.