Show More
@@ -236,10 +236,9 b' def find_data_files():' | |||
|
236 | 236 | """ |
|
237 | 237 | Find IPython's data_files. |
|
238 | 238 | |
|
239 | Most of these are docs. | |
|
239 | Just man pages at this point. | |
|
240 | 240 | """ |
|
241 | 241 | |
|
242 | docdirbase = pjoin('share', 'doc', 'ipython') | |
|
243 | 242 | manpagebase = pjoin('share', 'man', 'man1') |
|
244 | 243 | |
|
245 | 244 | # Simple file lists can be made by hand |
@@ -248,24 +247,8 b' def find_data_files():' | |||
|
248 | 247 | # When running from a source tree, the manpages aren't gzipped |
|
249 | 248 | manpages = [f for f in glob(pjoin('docs','man','*.1')) if isfile(f)] |
|
250 | 249 | |
|
251 | igridhelpfiles = [f for f in glob(pjoin('IPython','extensions','igrid_help.*')) if isfile(f)] | |
|
252 | ||
|
253 | # For nested structures, use the utility above | |
|
254 | example_files = make_dir_struct( | |
|
255 | 'data', | |
|
256 | pjoin('docs','examples'), | |
|
257 | pjoin(docdirbase,'examples') | |
|
258 | ) | |
|
259 | manual_files = make_dir_struct( | |
|
260 | 'data', | |
|
261 | pjoin('docs','html'), | |
|
262 | pjoin(docdirbase,'manual') | |
|
263 | ) | |
|
264 | ||
|
265 | 250 | # And assemble the entire output list |
|
266 |
data_files = [ (manpagebase, manpages) |
|
|
267 | (pjoin(docdirbase, 'extensions'), igridhelpfiles), | |
|
268 | ] + manual_files + example_files | |
|
251 | data_files = [ (manpagebase, manpages) ] | |
|
269 | 252 | |
|
270 | 253 | return data_files |
|
271 | 254 |
General Comments 0
You need to be logged in to leave comments.
Login now