setup.py
changeset 9129 395b0e132836
parent 9124 632df73485ae
child 9142 63cfacb7917e
equal deleted inserted replaced
9128:98d90ad54749 9129:395b0e132836
   246         packages.extend(['hgext.inotify', 'hgext.inotify.linux'])
   246         packages.extend(['hgext.inotify', 'hgext.inotify.linux'])
   247 
   247 
   248 datafiles = []
   248 datafiles = []
   249 for root in ('templates', 'i18n'):
   249 for root in ('templates', 'i18n'):
   250     for dir, dirs, files in os.walk(root):
   250     for dir, dirs, files in os.walk(root):
       
   251         dirs[:] = [x for x in dirs if not x.startswith('.')]
       
   252         files = [x for x in files if not x.startswith('.')]
   251         datafiles.append((os.path.join('mercurial', dir),
   253         datafiles.append((os.path.join('mercurial', dir),
   252                           [os.path.join(dir, file_) for file_ in files]))
   254                           [os.path.join(dir, file_) for file_ in files]))
   253 
   255 
   254 setup(name='mercurial',
   256 setup(name='mercurial',
   255       version=version,
   257       version=version,