Skip to content

Commit 7bf965a

Browse files
committed
[fix] modify setup.py read version msg.
1 parent b1eece6 commit 7bf965a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
if version_info < (3, 0, 0):
1414
raise SystemExit("binary_python requires must be python 3.0.0 or later.")
1515

16-
with open(join(dirname(__file__), "VERSION"), "rb") as f:
17-
version = f.read().decode("ascii").strip()
16+
with open(join(dirname(__file__), "version"), "rb") as f:
17+
version = f.read().strip()
1818

1919
with open("README.md", "r") as fh:
2020
long_description = fh.read()
File renamed without changes.

0 commit comments

Comments
 (0)