Permalink
Browse files

update setup to fix an issue when pyquickhelper is not here

  • Loading branch information...
sdpython committed May 24, 2015
1 parent 6340d32 commit 5d40a5a9274c2cb5707600abb21b5be12b98e538
Showing with 5 additions and 0 deletions.
  1. +5 −0 setup.py
View
@@ -71,6 +71,10 @@ def is_local():
"test_local_pypi" in sys.argv or \
"upload_docs" in sys.argv or \
"write_version" in sys.argv:
try:
import_pyquickhelper()
except ImportError:
return False
return True
else:
return False
@@ -153,6 +157,7 @@ def write_version():
r = False
if len(sys.argv) == 1 and "--help" in sys.argv:
pyquickhelper = import_pyquickhelper()
pyquickhelper.process_standard_options_for_setup_help()
if not r:

0 comments on commit 5d40a5a

Please sign in to comment.