Skip to content

Commit 480bc6e

Browse files
committed
Fix setup.py to work with Python 2.7
1 parent 6f234fa commit 480bc6e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
#!/usr/bin/env python
22

3+
import os
4+
5+
with open(os.path.join("fs", "_version.py")) as f:
6+
exec(f.read())
7+
38
from setuptools import setup
4-
setup()
9+
setup(version=__version__)

0 commit comments

Comments
 (0)