##// END OF EJS Templates
PyColorize.py => utils/PyColorize.py and updated imports.
Brian Granger -
Show More
@@ -31,7 +31,7 b' import linecache'
31 import os
31 import os
32 import sys
32 import sys
33
33
34 from IPython import PyColorize
34 from IPython.utils import PyColorize
35 from IPython.core import ipapi
35 from IPython.core import ipapi
36 from IPython.utils import coloransi
36 from IPython.utils import coloransi
37 from IPython.utils.genutils import Term
37 from IPython.utils.genutils import Term
@@ -45,7 +45,8 b' import tempfile'
45
45
46 # IPython's own modules
46 # IPython's own modules
47 #import IPython
47 #import IPython
48 from IPython import PyColorize,ultraTB
48 from IPython import ultraTB
49 from IPython.utils import PyColorize
49 from IPython.core import debugger, oinspect
50 from IPython.core import debugger, oinspect
50 from IPython.Extensions import pickleshare
51 from IPython.Extensions import pickleshare
51 from IPython.core.fakemodule import FakeModule, init_fakemod_dict
52 from IPython.core.fakemodule import FakeModule, init_fakemod_dict
@@ -47,7 +47,7 b' from IPython import wildcard'
47 from IPython.core import debugger, oinspect
47 from IPython.core import debugger, oinspect
48 from IPython.core.fakemodule import FakeModule
48 from IPython.core.fakemodule import FakeModule
49 from IPython.external.Itpl import Itpl, itpl, printpl,itplns
49 from IPython.external.Itpl import Itpl, itpl, printpl,itplns
50 from IPython.PyColorize import Parser
50 from IPython.utils.PyColorize import Parser
51 from IPython.utils.ipstruct import Struct
51 from IPython.utils.ipstruct import Struct
52 from IPython.core.macro import Macro
52 from IPython.core.macro import Macro
53 from IPython.utils.genutils import *
53 from IPython.utils.genutils import *
@@ -27,7 +27,7 b' import sys'
27 import types
27 import types
28
28
29 # IPython's own
29 # IPython's own
30 from IPython import PyColorize
30 from IPython.utils import PyColorize
31 from IPython.utils.genutils import page,indent,Term
31 from IPython.utils.genutils import page,indent,Term
32 from IPython.external.Itpl import itpl
32 from IPython.external.Itpl import itpl
33 from IPython.wildcard import list_namespace
33 from IPython.wildcard import list_namespace
@@ -90,7 +90,7 b' from inspect import getsourcefile, getfile, getmodule,\\'
90
90
91 # IPython's own modules
91 # IPython's own modules
92 # Modified pdb which doesn't damage IPython's readline handling
92 # Modified pdb which doesn't damage IPython's readline handling
93 from IPython import PyColorize
93 from IPython.utils import PyColorize
94 from IPython.core import debugger
94 from IPython.core import debugger
95 from IPython.utils.ipstruct import Struct
95 from IPython.utils.ipstruct import Struct
96 from IPython.core.excolors import exception_colors
96 from IPython.core.excolors import exception_colors
@@ -168,7 +168,7 b' import re'
168 import shlex
168 import shlex
169 import sys
169 import sys
170
170
171 from IPython.PyColorize import Parser
171 from IPython.utils.PyColorize import Parser
172 from IPython.utils.genutils import marquee, file_read, file_readlines
172 from IPython.utils.genutils import marquee, file_read, file_readlines
173
173
174 __all__ = ['Demo','IPythonDemo','LineDemo','IPythonLineDemo','DemoError']
174 __all__ = ['Demo','IPythonDemo','LineDemo','IPythonLineDemo','DemoError']
@@ -90,7 +90,7 b' from inspect import getsourcefile, getfile, getmodule,\\'
90
90
91 # IPython's own modules
91 # IPython's own modules
92 # Modified pdb which doesn't damage IPython's readline handling
92 # Modified pdb which doesn't damage IPython's readline handling
93 from IPython import PyColorize
93 from IPython.utils import PyColorize
94 from IPython.core import debugger
94 from IPython.core import debugger
95 from IPython.utils.ipstruct import Struct
95 from IPython.utils.ipstruct import Struct
96 from IPython.core.excolors import exception_colors
96 from IPython.core.excolors import exception_colors
1 NO CONTENT: file renamed from IPython/PyColorize.py to IPython/utils/PyColorize.py
NO CONTENT: file renamed from IPython/PyColorize.py to IPython/utils/PyColorize.py
@@ -19,3 +19,5 b' def test_import_ipstruct():'
19 def test_import_platutils():
19 def test_import_platutils():
20 from IPython.utils import platutils
20 from IPython.utils import platutils
21
21
22 def test_import_PyColorize():
23 from IPython.utils import PyColorize
General Comments 0
You need to be logged in to leave comments. Login now