Przeglądaj źródła

[F] Fix Windows encoding

Azalea (on HyDEV-Daisy) 2 lat temu
rodzic
commit
8a4a96634c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -9,7 +9,7 @@ import hyfetch
 HERE = pathlib.Path(__file__).parent
 HERE = pathlib.Path(__file__).parent
 
 
 # The text of the README file
 # The text of the README file
-README = (HERE / "README.md").read_text()
+README = (HERE / "README.md").read_text('utf-8')
 
 
 # This call to setup() does all the work
 # This call to setup() does all the work
 setup(
 setup(