Skip to content

Commit 2ff4357

Browse files
committed
remove setup importing wfdb version
1 parent 170029f commit 2ff4357

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
long_description = f.read()
1616

1717
# Get the version number from the version.py file
18-
from wfdb.version import __version__
18+
with open('wfdb/version.py') as f:
19+
__version__ = f.read().split()[-1].strip("'")
1920

2021
# Get the requirements
2122
with open('requirements.txt') as f:

wfdb/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.3.7'
1+
__version__ = '1.3.8'

0 commit comments

Comments
 (0)