Skip to content

Commit

Permalink
spyder.py: Finally place reqiurement and checks in logical order
Browse files Browse the repository at this point in the history
  • Loading branch information
techtonik committed Jul 3, 2014
1 parent b75af81 commit 884e74b
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions spyderlib/spyder.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,15 @@


#==============================================================================
# Test if IPython v0.13+ is installed to eventually switch to PyQt API #2
# Check requirements
#==============================================================================
from spyderlib import requirements
requirements.check_path()
requirements.check_qt()


#==============================================================================
# Check optional features: IPython v0.13+ integration
#==============================================================================
from spyderlib.baseconfig import _
from spyderlib.ipythonconfig import IPYTHON_QT_INSTALLED, SUPPORTED_IPYTHON
Expand All @@ -50,16 +58,9 @@
dependencies.add("zmq", _("IPython Console integration"),
required_version='>=2.1.11')

#==============================================================================
# Check requirements
#==============================================================================
from spyderlib import requirements
requirements.check_path()
requirements.check_qt()


#==============================================================================
# Windows platforms only: support for hiding the attached console window
# Windows only: support for hiding console window when started with python.exe
#==============================================================================
set_attached_console_visible = None
is_attached_console_visible = None
Expand Down

0 comments on commit 884e74b

Please sign in to comment.