From 5a8d9182c40372ed9ca0d7835561af3f22e7e86e Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Wed, 8 Jan 2014 10:14:52 -0800 Subject: [PATCH] Fix glob pattern for nbconvert template files --- setupbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setupbase.py b/setupbase.py index ae1891663..5afbdfe8d 100644 --- a/setupbase.py +++ b/setupbase.py @@ -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)