Skip to content
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

Installation from sources does not work after Poetry migration #241

Closed
twodrops opened this issue Apr 22, 2021 · 5 comments
Closed

Installation from sources does not work after Poetry migration #241

twodrops opened this issue Apr 22, 2021 · 5 comments

Comments

@twodrops
Copy link
Collaborator

Installation from sources with the following does not work after #216 implementation.

pip install -e .

It fails with the error:

ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: xxxxx (A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.

There are some solutions/workarounds mentioned here, but did not find anything straight-forward
python-poetry/poetry#1279
python-poetry/poetry#34

@danwos
Copy link
Member

danwos commented Apr 22, 2021 via email

@twodrops
Copy link
Collaborator Author

@danwos Thanks for the tip. It works!

@danwos
Copy link
Member

danwos commented Apr 23, 2021

Updated docs and close this ticket.

@danwos danwos closed this as completed Apr 23, 2021
@twodrops
Copy link
Collaborator Author

@danwos The readme and docs/installation.rst still says

pip install -e .

does it mean this works now instead of

pip install .

@danwos
Copy link
Member

danwos commented Apr 23, 2021

PR for this is on the way #246 :)
So still pip install ., no -e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants