Skip to content

Commit bcdb0c6

Browse files
committed
update .gitignore
1 parent 1397cda commit bcdb0c6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
*__pycache__
33
.vscode
44
*.sh
5+
*.egg-info
6+
build
7+
dist

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
8-
version_info = json.load(open(os.path.join(BASE_DIR, 'nsfc', 'version', 'version.json')))
8+
version_info = json.load(codecs.open(os.path.join(BASE_DIR, 'nsfc', 'version', 'version.json'), encoding='utf-8'))
99

1010

1111
setup(

0 commit comments

Comments
 (0)