Fix glob pattern for nbconvert template files

This commit is contained in:
Thomas Kluyver 2014-01-08 10:14:52 -08:00
parent 22f7bd4597
commit 5a8d9182c4

View File

@ -148,7 +148,7 @@ def find_package_data():
js_tests = glob('casperjs/*.*') + glob('casperjs/*/*')
os.chdir(os.path.join(cwd, 'IPython', 'nbconvert'))
nbconvert_templates = [os.path.join(dirpath, '*')
nbconvert_templates = [os.path.join(dirpath, '*.*')
for dirpath, _, _ in os.walk('templates')]
os.chdir(cwd)