Cannot pip install Poetry + Cython project from Github repository as build file name is autopopulated #1695
Closed
3 tasks done
Labels
kind/bug
Something isn't working as expected
-vvv
option).Issue
I am working on a project that includes Cython files and utilised the workaround recommended in #11 . When I tried to install the project via pip from github via
bash pip install git+https
, I encountered the following error:Upon further investigation, I noticed that the WheelBuilder in poetry.masonry.builders.wheel in the
python _build
function automatically populates the external build file reference provided in the tools.poetry section of the pyproject.toml withpython "setup.py"
instead of the external build file reference (see the code fragment containing the issue below).When I renamed my external build file to setup.py and changed the reference in my pyproject.toml, pip was able to build and install the project along with the Cython files.
The text was updated successfully, but these errors were encountered: