Skip to content
Browse files

Makes xlrd optional

  • Loading branch information...
remram44 committed Oct 3, 2014
1 parent 7e2670f commit 61a5d306d6cc949225e9db2a4b405352ded3b1f9
Showing with 9 additions and 4 deletions.
  1. +9 −4 vistrails/packages/tabledata/read/
@@ -6,11 +6,16 @@
except ImportError: # pragma: no cover
numpy_modules = []
from read_numpy import _modules as numpy_modules
from .read_numpy import _modules as numpy_modules

from read_csv import _modules as csv_modules
from read_excel import _modules as excel_modules
from read_json import _modules as json_modules
from .read_excel import get_xlrd
if get_xlrd():
from .read_excel import _modules as excel_modules
else: # pragma: no cover
excel_modules = []

from .read_csv import _modules as csv_modules
from .read_json import _modules as json_modules

_modules = make_modules_dict(numpy_modules, csv_modules, excel_modules,

0 comments on commit 61a5d30

Please sign in to comment.
You can’t perform that action at this time.