Skip to content

ERROR: File "setup.py" not found for legacy project #4263

Answered by abn
paw-lu asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like this was an issue with how the package archive was chosen. The package seems to have a dumb bdist attached which gets treated as an sdist by poetry. This seems to be resolved in master.

Using pipx

pipx install --suffix=@master 'poetry @ git+https://github.com/python-poetry/poetry.git@master'

Using a container (podman | docker)

podman run --rm -i --entrypoint bash python:3.8 <<EOF
set -xe
python -m pip install -q git+https://github.com/python-poetry/poetry.git@master
poetry new foobar
pushd foobar
poetry add libsixel-python
EOF

This should produce the output (with pipx install)

$ poetry@master add libsixel-python
Using version ^0.5.0 for libsixel-python

Updating dependencies
Re…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@paw-lu
Comment options

Answer selected by paw-lu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants