-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
python-poetry/poetry-core
#634Labels
area/build-systemRelated to PEP 517 packaging (see poetry-core)Related to PEP 517 packaging (see poetry-core)kind/bugSomething isn't working as expectedSomething isn't working as expected
Description
- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).
- OS version and name: macOS 12.3k
- Poetry version: 1.2.0b3
- Link of a Gist with the contents of your pyproject.toml file:
Issue
Python files generated during a build step (protobufs in my original case) don't make it into the wheel built with poetry build.
I do realize based on previous discussions around here that this particular combo is perhaps somewhat non-standard:
[tool.poetry.build]
generate-setup-file = true
script = "build.py"I've put together a minimal project to demonstrate the issue at https://github.com/egorchakov/poetry-build-issue. To reproduce:
- clone the repo:
git clone https://github.com/egorchakov/poetry-build-issue
cd poetry-build-issue
- build:
make cleanbuild
- unzip the resulting wheel:
unzip dist/*.whl -d dist/wheel
- observe that the wheel is missing a file generated during a build step:
ls dist/wheel/poetry_build_issue/generated
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/build-systemRelated to PEP 517 packaging (see poetry-core)Related to PEP 517 packaging (see poetry-core)kind/bugSomething isn't working as expectedSomething isn't working as expected