Skip to content

Commit

Permalink
fix(build): auto-generate setup.py for legacy build tools (#2013)
Browse files Browse the repository at this point in the history
  • Loading branch information
sthulb authored Mar 15, 2023
1 parent 214dc04 commit b357448
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ markers = [
requires = ["poetry-core>=1.3.2"]
build-backend = "poetry.core.masonry.api"

# poetry-core (PR #318) stopped generating setup.py by default, this enables it again.
[tool.poetry.build]
generate-setup-file = true

# NOTE
# As of now, Feb 2020, flake8 don't support pyproject
# For latest: https://github.com/flying-sheep/awesome-python-packaging

0 comments on commit b357448

Please sign in to comment.