##// END OF EJS Templates
Update version requirement to 2.5, since that's what we're using anyway....
Update version requirement to 2.5, since that's what we're using anyway. Fixes https://bugs.launchpad.net/ipython/+bug/505090

File last commit:

r2039:eb3ef22e
r2413:c859f8d0
Show More
platutils_dummy.py
33 lines | 1009 B | text/x-python | PythonLexer
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