Skip to content

Commit

Permalink
Merge pull request #791 from camptocamp/fix-poetry-publish
Browse files Browse the repository at this point in the history
Add missing originale value of use poetry
  • Loading branch information
sbrunner authored Oct 16, 2022
2 parents 79917ea + 5f88c69 commit 410ac99
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 410ac99

Please sign in to comment.