exclude some more files from build

This commit is contained in:
j 2012-05-19 15:32:12 +02:00
parent 2198d0b1ec
commit 00d5ece202

View file

@ -204,7 +204,7 @@ def filter_build(tarinfo):
def filter_source(tarinfo):
if re.search('^OxJS/(demos|downloads/|tools/geo/png/icons/)', tarinfo.name):
return None
if re.search('/[\._]', tarinfo.name):
if re.search('/\.', tarinfo.name) or re.search('(\.gz|[~])$', tarinfo.name):
return None
return tarinfo