Skip to content

Commit

Permalink
Fix an unicode error whan installing current package in editable mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sdispater committed Oct 18, 2018
1 parent 5e478d0 commit 24dd382
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- Fixed the `--no-dev` option in `install` not working properly.
- Fixed prereleases being selected even if another constraint conflicted with them.
- Fixed an error when installing current package in development mode if the generated `setup.py` had special characters.


## [0.12.2] - 2018-10-17
Expand Down
2 changes: 1 addition & 1 deletion poetry/console/commands/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def handle(self):
else:
builder = SdistBuilder(self.poetry, NullEnv(), NullIO())

with setup.open("w") as f:
with setup.open("w", encoding="utf-8") as f:
f.write(decode(builder.build_setup()))

try:
Expand Down

0 comments on commit 24dd382

Please sign in to comment.