Show More
@@ -146,6 +146,11 b' def find_package_data():' | |||||
146 |
|
146 | |||
147 | os.chdir(os.path.join('tests',)) |
|
147 | os.chdir(os.path.join('tests',)) | |
148 | js_tests = glob('casperjs/*.*') + glob('casperjs/*/*') |
|
148 | js_tests = glob('casperjs/*.*') + glob('casperjs/*/*') | |
|
149 | ||||
|
150 | os.chdir(os.path.join(cwd, 'IPython', 'nbconvert')) | |||
|
151 | nbconvert_templates = [os.path.join(dirpath, '*') | |||
|
152 | for dirpath, _, _ in os.walk('templates')] | |||
|
153 | ||||
149 | os.chdir(cwd) |
|
154 | os.chdir(cwd) | |
150 |
|
155 | |||
151 | package_data = { |
|
156 | package_data = { | |
@@ -157,10 +162,8 b' def find_package_data():' | |||||
157 | 'IPython.html' : ['templates/*'] + static_data, |
|
162 | 'IPython.html' : ['templates/*'] + static_data, | |
158 | 'IPython.html.tests' : js_tests, |
|
163 | 'IPython.html.tests' : js_tests, | |
159 | 'IPython.qt.console' : ['resources/icon/*.svg'], |
|
164 | 'IPython.qt.console' : ['resources/icon/*.svg'], | |
160 |
'IPython.nbconvert' : |
|
165 | 'IPython.nbconvert' : nbconvert_templates + | |
161 | 'templates/latex/skeleton/*.tplx', 'templates/skeleton/*', |
|
166 | ['tests/files/*.*', 'exporters/tests/files/*.*'], | |
162 | 'templates/reveal_internals/*.tpl', 'tests/files/*.*', |
|
|||
163 | 'exporters/tests/files/*.*'], |
|
|||
164 | 'IPython.nbformat' : ['tests/*.ipynb'] |
|
167 | 'IPython.nbformat' : ['tests/*.ipynb'] | |
165 | } |
|
168 | } | |
166 | return package_data |
|
169 | return package_data |
General Comments 0
You need to be logged in to leave comments.
Login now