setup.py
changeset 9998 4a3c388f8c69
parent 9856 ed362d41d1f6
child 9999 f91e5630ce7e
equal deleted inserted replaced
9997:c08583734fc5 9998:4a3c388f8c69
   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]))