##// END OF EJS Templates
remove nbconvert from package data
Min RK -
Show More
@@ -175,10 +175,20 b' def find_package_data():'
175
175
176 os.chdir(os.path.join('tests',))
176 os.chdir(os.path.join('tests',))
177 js_tests = glob('*.js') + glob('*/*.js')
177 js_tests = glob('*.js') + glob('*/*.js')
178
178
179 os.chdir(os.path.join(cwd, 'IPython', 'nbconvert'))
179 # nbconvert package_data:
180 nbconvert_templates = [os.path.join(dirpath, '*.*')
180 # os.chdir(os.path.join(cwd, 'IPython', 'nbconvert'))
181 for dirpath, _, _ in os.walk('templates')]
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 os.chdir(cwd)
193 os.chdir(cwd)
184
194
@@ -189,13 +199,6 b' def find_package_data():'
189 'IPython.testing.plugin' : ['*.txt'],
199 'IPython.testing.plugin' : ['*.txt'],
190 'IPython.html' : ['templates/*'] + static_data,
200 'IPython.html' : ['templates/*'] + static_data,
191 'IPython.html.tests' : js_tests,
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 # 'IPython.nbformat' : [
202 # 'IPython.nbformat' : [
200 # 'tests/*.ipynb',
203 # 'tests/*.ipynb',
201 # 'v3/nbformat.v3.schema.json',
204 # 'v3/nbformat.v3.schema.json',
General Comments 0
You need to be logged in to leave comments. Login now