equal
deleted
inserted
replaced
254 ext_modules.append(Extension('hgext.inotify.linux._inotify', |
254 ext_modules.append(Extension('hgext.inotify.linux._inotify', |
255 ['hgext/inotify/linux/_inotify.c'])) |
255 ['hgext/inotify/linux/_inotify.c'])) |
256 packages.extend(['hgext.inotify', 'hgext.inotify.linux']) |
256 packages.extend(['hgext.inotify', 'hgext.inotify.linux']) |
257 |
257 |
258 datafiles = [] |
258 datafiles = [] |
259 for root in ('templates', 'i18n', 'help'): |
259 for root in ('templates', 'help'): |
260 for dir, dirs, files in os.walk(root): |
260 for dir, dirs, files in os.walk(root): |
261 dirs[:] = [x for x in dirs if not x.startswith('.')] |
261 dirs[:] = [x for x in dirs if not x.startswith('.')] |
262 files = [x for x in files if not x.startswith('.')] |
262 files = [x for x in files if not x.startswith('.')] |
263 datafiles.append((os.path.join('mercurial', dir), |
263 datafiles.append((os.path.join('mercurial', dir), |
264 [os.path.join(dir, file_) for file_ in files])) |
264 [os.path.join(dir, file_) for file_ in files])) |