##// END OF EJS Templates
Unbundle of all external modules....
Thomas Spura -
Show More
@@ -0,0 +1,4 b''
1 try:
2 from Itpl import *
3 except ImportError:
4 from _Itpl import *
@@ -0,0 +1,12 b''
1 try:
2 import argparse
3 # Workaround an argparse bug, FIXED in argparse 1.1.0
4 if 'RawTextHelpFormatterArgumentDefaultsHelpFormatter' in argparse.__all__:
5 import itertools
6 argparse.__all__ = list(itertools.chain( [i for i in argparse.__all__
7 if i != 'RawTextHelpFormatterArgumentDefaultsHelpFormatter'],
8 ['RawTextHelpFormatter', 'ArgumentDefaultsHelpFormatter']))
9 argparse.__all__.append('SUPPRESS')
10 from argparse import *
11 except ImportError:
12 from _argparse import *
@@ -0,0 +1,4 b''
1 try:
2 from configobj import *
3 except ImportError:
4 from _configobj import *
@@ -0,0 +1,8 b''
1 try:
2 from decorator import *
3 from decorator import getinfo, new_wrapper
4 # the following funcion is deprecated so using the python own one
5 from functools import update_wrapper
6 except ImportError:
7 from _decorator import *
8 from _decorator import getinfo, update_wrapper, new_wrapper
@@ -0,0 +1,4 b''
1 try:
2 from numpy.testing.decorators import *
3 except ImportError:
4 from _decorators.py import *
@@ -0,0 +1,4 b''
1 try:
2 from guid import *
3 except ImportError:
4 from _guid import *
@@ -0,0 +1,4 b''
1 try:
2 from mglob import *
3 except ImportError:
4 from _mglob import *
@@ -0,0 +1,4 b''
1 try:
2 from path import *
3 except ImportError:
4 from _path import *
@@ -0,0 +1,4 b''
1 try:
2 from pretty import *
3 except ImportError:
4 from _pretty import *
@@ -0,0 +1,4 b''
1 try:
2 from pyparsing import *
3 except ImportError:
4 from _pyparsing import *
@@ -0,0 +1,4 b''
1 try:
2 from simplegeneric import *
3 except ImportError:
4 from _simplegeneric import *
@@ -0,0 +1,8 b''
1 try:
2 import validate
3 if '__docformat__' in validate.__all__ and validate.__version__.split('.') >= ['1', '0', '1']:
4 # __docformat__ was removed in 1.0.1 but
5 validate.__all__ = [i for i in validate.__all__ if i != '__docformat__']
6 from validate import *
7 except ImportError:
8 from _validate import *
1 NO CONTENT: file renamed from IPython/external/Itpl.py to IPython/external/Itpl/_Itpl.py
1 NO CONTENT: file renamed from IPython/external/argparse.py to IPython/external/argparse/_argparse.py
1 NO CONTENT: file renamed from IPython/external/configobj.py to IPython/external/configobj/_configobj.py
1 NO CONTENT: file renamed from IPython/external/decorator.py to IPython/external/decorator/_decorator.py
1 NO CONTENT: file renamed from IPython/external/decorators.py to IPython/external/decorators/_decorators.py
1 NO CONTENT: file renamed from IPython/external/_numpy_testing_utils.py to IPython/external/decorators/_numpy_testing_utils.py
1 NO CONTENT: file renamed from IPython/external/guid.py to IPython/external/guid/_guid.py
1 NO CONTENT: file renamed from IPython/external/mglob.py to IPython/external/mglob/_mglob.py
1 NO CONTENT: file renamed from IPython/external/path.py to IPython/external/path/_path.py
1 NO CONTENT: file renamed from IPython/external/pretty.py to IPython/external/pretty/_pretty.py
1 NO CONTENT: file renamed from IPython/external/pyparsing.py to IPython/external/pyparsing/_pyparsing.py
1 NO CONTENT: file renamed from IPython/external/simplegeneric.py to IPython/external/simplegeneric/_simplegeneric.py
1 NO CONTENT: file renamed from IPython/external/validate.py to IPython/external/validate/_validate.py
@@ -108,6 +108,18 b' def find_packages():'
108 108 add_package(packages, 'deathrow', tests=True)
109 109 add_package(packages, 'extensions')
110 110 add_package(packages, 'external')
111 add_package(packages, 'external.argparse')
112 add_package(packages, 'external.configobj')
113 add_package(packages, 'external.decorator')
114 add_package(packages, 'external.decorators')
115 add_package(packages, 'external.guid')
116 add_package(packages, 'external.Itpl')
117 add_package(packages, 'external.mglob')
118 add_package(packages, 'external.path')
119 add_package(packages, 'external.pretty')
120 add_package(packages, 'external.pyparsing')
121 add_package(packages, 'external.simplegeneric')
122 add_package(packages, 'external.validate')
111 123 add_package(packages, 'frontend')
112 124 add_package(packages, 'frontend.qt')
113 125 add_package(packages, 'frontend.qt.console', tests=True)
General Comments 0
You need to be logged in to leave comments. Login now