Show More
@@ -175,10 +175,20 b' def find_package_data():' | |||
|
175 | 175 | |
|
176 | 176 | os.chdir(os.path.join('tests',)) |
|
177 | 177 | js_tests = glob('*.js') + glob('*/*.js') |
|
178 | ||
|
179 | os.chdir(os.path.join(cwd, 'IPython', 'nbconvert')) | |
|
180 | nbconvert_templates = [os.path.join(dirpath, '*.*') | |
|
181 | for dirpath, _, _ in os.walk('templates')] | |
|
178 | ||
|
179 | # nbconvert package_data: | |
|
180 | # os.chdir(os.path.join(cwd, 'IPython', 'nbconvert')) | |
|
181 | # nbconvert_templates = [os.path.join(dirpath, '*.*') | |
|
182 | # for dirpath, _, _ in os.walk('templates')] | |
|
183 | # package_data = { | |
|
184 | # 'IPython.nbconvert.filters' : ['marked.js'], | |
|
185 | # 'IPython.nbconvert' : nbconvert_templates + | |
|
186 | # [ | |
|
187 | # 'tests/files/*.*', | |
|
188 | # 'exporters/tests/files/*.*', | |
|
189 | # 'preprocessors/tests/files/*.*', | |
|
190 | # ], | |
|
191 | # } | |
|
182 | 192 | |
|
183 | 193 | os.chdir(cwd) |
|
184 | 194 | |
@@ -189,13 +199,6 b' def find_package_data():' | |||
|
189 | 199 | 'IPython.testing.plugin' : ['*.txt'], |
|
190 | 200 | 'IPython.html' : ['templates/*'] + static_data, |
|
191 | 201 | 'IPython.html.tests' : js_tests, |
|
192 | 'IPython.nbconvert' : nbconvert_templates + | |
|
193 | [ | |
|
194 | 'tests/files/*.*', | |
|
195 | 'exporters/tests/files/*.*', | |
|
196 | 'preprocessors/tests/files/*.*', | |
|
197 | ], | |
|
198 | 'IPython.nbconvert.filters' : ['marked.js'], | |
|
199 | 202 | # 'IPython.nbformat' : [ |
|
200 | 203 | # 'tests/*.ipynb', |
|
201 | 204 | # 'v3/nbformat.v3.schema.json', |
General Comments 0
You need to be logged in to leave comments.
Login now