Commit 24dd382d by Sébastien Eustace

Fix an unicode error whan installing current package in editable mode

parent 5e478d0d
......@@ -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
......
......@@ -75,7 +75,7 @@ exist it will look for <comment>pyproject.toml</> and do the same.
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment