Update to docs building.

这个提交包含在:
Craig Warren
2015-11-03 13:47:41 +00:00
父节点 29c0722e2a
当前提交 e291551f15
共有 2 个文件被更改,包括 3 次插入3 次删除

查看文件

@@ -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']

查看文件

@@ -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