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