Skip to content

Commit

Permalink
Fix default value for build.generate-setup-file
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed Jul 14, 2020
1 parent 540676e commit 1a84fb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion poetry/core/masonry/builders/sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def build(self, target_dir=None): # type: (Path) -> Path
else:
tar.addfile(tar_info) # Symlinks & ?

if not self._poetry.package.build_config.get("generate-setup-file", False):
if self._poetry.package.build_config.get("generate-setup-file", True):
setup = self.build_setup()
tar_info = tarfile.TarInfo(pjoin(tar_dir, "setup.py"))
tar_info.size = len(setup)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ classifiers = [
]

[tool.poetry.build]
generate-setup-file = true
generate-setup-file = false

# Requirements
[tool.poetry.dependencies]
Expand Down

0 comments on commit 1a84fb0

Please sign in to comment.