Closed
Description
Expected Behaviour
When we run poetry build
a setup.py file should be generated
Current Behaviour
Because of a behaviour change in poetry-core (python-poetry/poetry-core#318), PT no longer generates a setup.py file and this breaks for downstream users.
Code snippet
N/A
Possible Solution
add:
[tool.poetry.build]
generate-setup-file = true
to the pyproject.toml
Steps to Reproduce
- poetry build
- inspect dist for setup.py
AWS Lambda Powertools for Python version
latest
AWS Lambda function runtime
3.6
Packaging format used
PyPi
Debugging logs
No response