diff --git a/delve/__init__.py b/delve/__init__.py index 625afb2..56d4ae8 100644 --- a/delve/__init__.py +++ b/delve/__init__.py @@ -6,12 +6,14 @@ pass name = "delve" -from delve.writers import PrintWriter as console -from delve.writers import NPYWriter as npy -from delve.writers import CSVWriter as csv -from delve.writers import CSVandPlottingWriter as plot -from delve.writers import CSVandPlottingWriter as plotcsv - -from delve.writers import CSVandPlottingWriter as csvplot -from delve.writers import TensorBoardWriter as tensorboard +try: + from delve.writers import PrintWriter as console + from delve.writers import NPYWriter as npy + from delve.writers import CSVWriter as csv + from delve.writers import CSVandPlottingWriter as plot + from delve.writers import CSVandPlottingWriter as plotcsv + from delve.writers import CSVandPlottingWriter as csvplot + from delve.writers import TensorBoardWriter as tensorboard +except ImportError: + pass diff --git a/delve/version.py b/delve/version.py index fbd991f..8e7b6eb 100644 --- a/delve/version.py +++ b/delve/version.py @@ -1 +1 @@ -__version__ = '0.1.41' +__version__ = '0.1.42' diff --git a/setup.py b/setup.py index dd6851e..fbe836c 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ with open('HISTORY.rst') as history_file: history = history_file.read() -requirements = ['tensorboardX', 'tqdm', 'MDP'] +requirements = ['tensorboardX', 'tqdm', "matplotlib", "pandas"] this_dir = path.abspath(path.dirname(__file__)) with open(os.path.join(this_dir, 'README.md'), encoding='utf-8') as f: