Unbreak setup when no `git` exectuable in path
Compare changes
+ 7
− 3
@@ -20,9 +20,13 @@ from setuptools import find_packages, setup
If there is no git
executable in the PATH
of the installing shell,
the setup will fail because the setup.py
write_version
function will
raise a FileNotFoundError
exception.
Fix this by catching the exception.