Merge pull request #3387 from takluyver/py3-submodules

Make submodule checks work under Python 3

introduces a regression in the submodule check for people who may have fetched a tarball from GitHub,
which will now install an incomplete IPython.
This commit is contained in:
Min RK 2013-05-30 11:52:51 -07:00
commit 59ef1fb2ed

View File

@ -121,6 +121,8 @@ def require_clean_submodules():
after everything has been set in motion,
this is not a distutils command.
"""
# PACKAGERS: Add a return here to skip checks for git submodules
# don't do anything if nothing is actually supposed to happen
for do_nothing in ('-h', '--help', '--help-commands', 'clean', 'submodule'):
if do_nothing in sys.argv: