Show More
@@ -175,9 +175,9 b' def make_dir_struct(tag,base,out_base):' | |||
|
175 | 175 | # filenames, we must join back with the dirpath to get full valid file |
|
176 | 176 | # paths: |
|
177 | 177 | pfiles = [pjoin(dirpath,f) for f in filenames] |
|
178 |
# Finally, generate the entry we need, which is a |
|
|
178 | # Finally, generate the entry we need, which is a pari of (output | |
|
179 | 179 | # path, files) for use as a data_files parameter in install_data. |
|
180 |
out.append(( |
|
|
180 | out.append((out_path, pfiles)) | |
|
181 | 181 | |
|
182 | 182 | return out |
|
183 | 183 | |
@@ -194,7 +194,8 b' def find_data_files():' | |||
|
194 | 194 | |
|
195 | 195 | # Simple file lists can be made by hand |
|
196 | 196 | manpages = filter(isfile, glob(pjoin('docs','man','*.1.gz'))) |
|
197 | igridhelpfiles = filter(isfile, glob(pjoin('IPython','extensions','igrid_help.*'))) | |
|
197 | igridhelpfiles = filter(isfile, | |
|
198 | glob(pjoin('IPython','extensions','igrid_help.*'))) | |
|
198 | 199 | |
|
199 | 200 | # For nested structures, use the utility above |
|
200 | 201 | example_files = make_dir_struct( |
@@ -209,8 +210,8 b' def find_data_files():' | |||
|
209 | 210 | ) |
|
210 | 211 | |
|
211 | 212 | # And assemble the entire output list |
|
212 |
data_files = [ ( |
|
|
213 |
( |
|
|
213 | data_files = [ (manpagebase, manpages), | |
|
214 | (pjoin(docdirbase, 'extensions'), igridhelpfiles), | |
|
214 | 215 | ] + manual_files + example_files |
|
215 | 216 | |
|
216 | 217 | ## import pprint # dbg |
General Comments 0
You need to be logged in to leave comments.
Login now