Permalink
Browse files

better error message in setup.py

  • Loading branch information...
sdpython committed Dec 28, 2017
1 parent 8aa6d8c commit 24895cad35f3b7b8575795bcb4bbaae95b331405
Showing with 1 addition and 1 deletion.
  1. +1 −1 setup.py
View
@@ -149,7 +149,7 @@ def write_version():
if subversion == ".0":
raise Exception("Subversion is wrong: '{0}'.".format(subversion))
else:
raise FileNotFoundError(versiontxt)
raise FileNotFoundError("Unable to find '{0}' argv={1}".format(versiontxt, sys.argv))
else:
# when the module is installed, no commit number is displayed
subversion = ""

0 comments on commit 24895ca

Please sign in to comment.