Skip to content

Commit b357448

Browse files
authored
fix(build): auto-generate setup.py for legacy build tools (#2013)
1 parent 214dc04 commit b357448

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ markers = [
176176
requires = ["poetry-core>=1.3.2"]
177177
build-backend = "poetry.core.masonry.api"
178178

179+
# poetry-core (PR #318) stopped generating setup.py by default, this enables it again.
180+
[tool.poetry.build]
181+
generate-setup-file = true
182+
179183
# NOTE
180184
# As of now, Feb 2020, flake8 don't support pyproject
181185
# For latest: https://github.com/flying-sheep/awesome-python-packaging

0 commit comments

Comments
 (0)