diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2024-07-17 06:54:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-17 06:54:44 +0200 |
| commit | 3e2201380a6f09c0fd6a859fc3b06c35a2558eba (patch) | |
| tree | 70cfeac16f0995fde9d294c753608ec8dc2d3e0e /setup.py | |
| parent | 90dc1671b59077ee27c3d44d9d536d6659eb3bbe (diff) | |
| parent | 376b0a55b17ff8fefd0a79873807df71dcbfbc61 (diff) | |
| download | miasm-3e2201380a6f09c0fd6a859fc3b06c35a2558eba.tar.gz miasm-3e2201380a6f09c0fd6a859fc3b06c35a2558eba.zip | |
Merge pull request #1489 from vmartyanov/Fixing_installation_error
Fixing error with installation on windows with cp1251
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py index e1e54434..abecb1a1 100644 --- a/setup.py +++ b/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: |