Skip to content

Commit

Permalink
python-poetry#4979: Fix editable install when build script is used
Browse files Browse the repository at this point in the history
  • Loading branch information
hdk5 committed Jan 28, 2022
1 parent c1c74b9 commit de803c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/utils/pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def pip_install(
# lot of packages.
args = ["install", "--disable-pip-version-check", "--prefix", str(environment.path)]

if not is_wheel:
if not (is_wheel or editable):
args.insert(1, "--use-pep517")

if upgrade:
Expand Down

0 comments on commit de803c8

Please sign in to comment.