We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f42b00d commit 79aebceCopy full SHA for 79aebce
setup.py
@@ -3,12 +3,11 @@
3
import sys
4
import numpy as np
5
6
-
7
8
-with open("README.md", 'r') as readme:
9
- if sys.version_info[0] < 3:
+if sys.version_info[0] < 3:
+ with open("README.md", 'r') as readme:
10
long_description = readme.read().decode('utf-8')
11
- else:
+else:
+ with open("README.md", 'r', encoding="utf-8") as readme:
12
long_description = readme.read()
13
14
current_dir = os.getcwd()
0 commit comments