-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install Poetry project in editable mode #151
Comments
Thanks for reporting. Unfortunately this is out of pipx's control. This was a rather large oversight of PEP 517. pypa/pip#6434 I haven't tried this yet, but there might be a workaround with the Something like
|
Whatever the case, this should probably be documented somewhere in pipx so thanks for bringing it up. I haven't had the time to fully understand the implications, so I am not ready to write docs on this. If you end up spending some time reading up and experimenting, doc PRs are welcome. |
to me it seems to be still not working: $ pip list --user
Package Version
---------- --------
Click 7.0
pip 19.1.1
pipsi 0.9
pipx 0.13.1.1
userpath 1.1.0
virtualenv 16.4.3
wheel 0.33.1
…/poetry $ pipx install --editable --spec . --pip-args="--no-use-pep517" poetry
creating virtual environment...
Usage:
/home/user/.local/pipx/venvs/poetry/bin/python -m pip install [options] <requirement specifier> [package-index-options] ...
/home/user/.local/pipx/venvs/poetry/bin/python -m pip install [options] -r <requirements file> [package-index-options] ...
/home/user/.local/pipx/venvs/poetry/bin/python -m pip install [options] [-e] <vcs project url> ...
/home/user/.local/pipx/venvs/poetry/bin/python -m pip install [options] [-e] <local project path> ...
/home/user/.local/pipx/venvs/poetry/bin/python -m pip install [options] <archive url/path> ...
no such option: --no-use-pep517
'/home/user/.local/pipx/venvs/poetry/bin/python -m pip install --no-use-pep517 --upgrade pip -q' failed |
Since support of PEP 660 was merged in This issue can be closed as resolved |
I would expect this to work, but it doesn't:
Use case: I want to develop a Python package using Poetry which provides a binary, and I want to install it in my local environment using pipx for development.
Workaround is to add the following to my shell configuration:
The text was updated successfully, but these errors were encountered: