From e291551f150fb410160ca6afaaabfabcd4ae5290 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Tue, 3 Nov 2015 13:47:41 +0000 Subject: [PATCH] Update to docs building. --- docs/source/conf.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 315dfba9..f484009e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -33,7 +33,7 @@ extensions = [ ] # autodoc mock imports -autodoc_mock_imports = ['h5py', 'matplotlib'] +autodoc_mock_imports = ['h5py', 'matplotlib', 'pyfiglet', 'cython', 'psutil'] # Options for autodoc autodoc_default_flags = ['members'] diff --git a/setup.py b/setup.py index b381ce0b..7ea2bbc7 100644 --- a/setup.py +++ b/setup.py @@ -74,11 +74,11 @@ if 'cleanall' in sys.argv: try: os.remove(cfile) except OSError: - pass + print('Could not remove: {}'.format(cfile)) try: os.remove(libfile) except OSError: - pass + print('Could not remove: {}'.format(libfile)) shutil.rmtree('build', ignore_errors=True) # Now do a normal clean sys.argv[1] = 'clean' # this is what distutils understands