more explicit about version file location
This commit is contained in:
parent
1a16e9a3ab
commit
305a54847c
|
@ -1,3 +1,4 @@
|
|||
# See setup.py about usage of VERSION.txt
|
||||
with open('VERSION.txt') as f:
|
||||
import os
|
||||
with open(os.path.join(os.path.dirname(__file__), 'VERSION.txt')) as f:
|
||||
__version__ = f.read().strip()
|
||||
|
|
Loading…
Reference in New Issue