Skip to content

Commit

Permalink
Add missing originale value of use poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Oct 16, 2022
1 parent 79917ea commit 5f88c69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions c2cciutils/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def pip(
os.mkdir(dist)
cmd = ["pip", "wheel", "--no-deps", "--wheel-dir=dist", "."]
if os.path.exists(os.path.join(cwd, "pyproject.toml")):
use_poetry = False
if "build_command" not in package:
with open(os.path.join(cwd, "pyproject.toml"), encoding="utf-8") as project_file:
pyproject = tomlkit.load(project_file)
Expand Down

0 comments on commit 5f88c69

Please sign in to comment.