##// END OF EJS Templates
add a check to verify is wx.aui is present on the system.\n Else tells the user to install wxpython > 2.8.0
add a check to verify is wx.aui is present on the system.\n Else tells the user to install wxpython > 2.8.0

File last commit:

r1986:03d5e1b5
r2249:0423faf0
Show More
platutils_dummy.py
33 lines | 1009 B | text/x-python | PythonLexer
/ IPython / platutils_dummy.py
vivainio
Added platutils modules, now only needed for %cd to ...
r107 # -*- coding: utf-8 -*-
""" Platform specific utility functions, dummy version
This has empty implementation of the platutils functions, used for
unsupported operating systems.
Fernando Perez
Update copyright/author statements....
r1875
Authors
-------
- Ville Vainio <vivainio@gmail.com>
vivainio
Added platutils modules, now only needed for %cd to ...
r107 """
#*****************************************************************************
Fernando Perez
Update copyright/author statements....
r1875 # Copyright (C) 2008-2009 The IPython Development Team
# Copyright (C) 2001-2007 Fernando Perez <fperez@colorado.edu>
vivainio
Added platutils modules, now only needed for %cd to ...
r107 #
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#*****************************************************************************
Fernando Perez
Refactor of platutils for cleanup....
r1331 # This variable is part of the expected API of the module:
ignore_termtitle = True
vivainio
Added platutils modules, now only needed for %cd to ...
r107
Fernando Perez
Refactor of platutils for cleanup....
r1331 def set_term_title(*args,**kw):
"""Dummy no-op."""
vivainio
Added platutils modules, now only needed for %cd to ...
r107 pass
Brian Granger
Moving find_exe -> platutils.find_cmd and making is cross platform....
r1975
def find_cmd(cmd):
"""Find the full path to a command using which."""
return os.popen('which %s' % cmd).read().strip()
Administrator
Added platutils.get_long_path_name to expand paths with "~" on win32....
r1986
def get_long_path_name(path):
"""Dummy no-op."""
return path