Skip to content

Commit

Permalink
Merge pull request #1489 from vmartyanov/Fixing_installation_error
Browse files Browse the repository at this point in the history
Fixing error with installation on windows with cp1251
  • Loading branch information
serpilliere authored Jul 17, 2024
2 parents 90dc167 + 376b0a5 commit 3e22013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def build_all():


def _write_pkg_file(self, file):
with TemporaryFile(mode="w+") as tmpfd:
with TemporaryFile(mode="w+", encoding="utf-8") as tmpfd:
_write_pkg_file_orig(self, tmpfd)
tmpfd.seek(0)
for line in tmpfd:
Expand Down

0 comments on commit 3e22013

Please sign in to comment.