Skip to content

Commit cda1ca4

Browse files
committed
Support for git not available
ref #37
1 parent 9ed2214 commit cda1ca4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
version += '+' + sha[:7]
2121
except subprocess.CalledProcessError:
2222
pass
23+
except IOError: # FileNotFoundError for python 3
24+
pass
2325

2426

2527
class build_py(setuptools.command.build_py.build_py):

0 commit comments

Comments
 (0)