##// END OF EJS Templates
Fix a bug that caused man pages to not be installed in Python 3 when running from the source tree.
Thomas Robitaille -
Show More
@@ -204,12 +204,12 b' def find_data_files():'
204 manpagebase = pjoin('share', 'man', 'man1')
204 manpagebase = pjoin('share', 'man', 'man1')
205
205
206 # Simple file lists can be made by hand
206 # Simple file lists can be made by hand
207 manpages = filter(isfile, glob(pjoin('docs','man','*.1.gz')))
207 manpages = [f for f in glob(pjoin('docs','man','*.1.gz')) if isfile(f)]
208 if not manpages:
208 if not manpages:
209 # When running from a source tree, the manpages aren't gzipped
209 # When running from a source tree, the manpages aren't gzipped
210 manpages = filter(isfile, glob(pjoin('docs','man','*.1')))
210 manpages = [f for f in glob(pjoin('docs','man','*.1')) if isfile(f)]
211 igridhelpfiles = filter(isfile,
211
212 glob(pjoin('IPython','extensions','igrid_help.*')))
212 igridhelpfiles = [f for f in glob(pjoin('IPython','extensions','igrid_help.*')) if isfile(f)]
213
213
214 # For nested structures, use the utility above
214 # For nested structures, use the utility above
215 example_files = make_dir_struct(
215 example_files = make_dir_struct(
General Comments 0
You need to be logged in to leave comments. Login now