mirror of
https://github.com/cea-sec/miasm
synced 2026-08-17 10:26:03 -04:00
Fixing error with installation on windows with cp1251
This commit is contained in:
parent
90dc1671b5
commit
376b0a55b1
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -416,7 +416,7 @@ _write_pkg_file_orig = DistributionMetadata.write_pkg_file
|
|||
|
||||
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue