Changeset 2998

Show
Ignore:
Timestamp:
01/31/08 04:06:04 (10 months ago)
Author:
vivainio
Message:

move path to external

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ipython/trunk/IPython/Extensions/ipy_fsops.py

    r2906 r2998  
    2121import shutil,os,shlex 
    2222from IPython.external import mglob 
    23 from IPython.Extensions.path import path 
     23from IPython.external.path import path 
    2424from IPython.ipapi import UsageError 
    2525 
     
    139139    Without args, try to open ~/_ipython/collect dir (in win32 at least). 
    140140    """ 
    141     from path import path 
     141    from IPython.external.path import path 
    142142    basedir = path(ip.options.ipythondir + '/collect') 
    143143    try:     
  • ipython/trunk/IPython/Extensions/ipy_profile_sh.py

    r2925 r2998  
    2626    # if you are doing shell-like stuff 
    2727    try: 
    28         ip.ex("from path import path" ) 
     28        ip.ex("from IPython.external.path import path" ) 
    2929    except ImportError: 
    3030        pass 
  • ipython/trunk/IPython/Extensions/pickleshare.py

    r2685 r2998  
    3434""" 
    3535 
    36 from path import path as Path 
     36from IPython.external.path import path as Path 
    3737import os,stat,time 
    3838import cPickle as pickle 
  • ipython/trunk/IPython/genutils.py

    r2955 r2998  
    4040from IPython.generics import result_display 
    4141import IPython.ipapi 
    42 from path import path 
     42from IPython.external.path import path 
    4343if os.name == "nt": 
    4444    from IPython.winconsole import get_console_size 
  • ipython/trunk/IPython/hooks.py

    r2955 r2998  
    223223    shell(cmd, header=self.rc.system_header, verbose=self.rc.system_verbose) 
    224224 
    225  
    226225def show_in_pager(self,s): 
    227226    """ Run a string through pager """ 
    228227    # raising TryNext here will use the default paging functionality 
    229228    raise ipapi.TryNext 
    230      
    231  
     229 
     230def pre_command_hook(self,cmd): 
     231    """" Executed before starting to execute a command """ 
     232    return None 
     233 
     234def post_command_hook(self,cmd): 
     235    """ Executed after executing a command """ 
     236     
     237 
  • ipython/trunk/IPython/upgrade_dir.py

    r2302 r2998  
    88""" 
    99try: 
    10     from IPython.Extensions.path import path 
     10    from IPython.external.path import path 
    1111except ImportError: 
    12     try: 
    13         from Extensions.path import path 
    14     except ImportError: 
    15         from path import path 
     12    from path import path 
    1613 
    1714import md5,pickle 
  • ipython/trunk/test/runtests.py

    r1134 r2998  
    66""" 
    77 
    8 from path import path 
     8from IPython.external.path import path 
    99import pprint,os 
    1010import IPython.ipapi 
  • ipython/trunk/tools/check_sources.py

    r2010 r2998  
    1 from path import path 
     1from IPython.external.path import path 
    22fs = path('..').walkfiles('*.py') 
    33