exclude some more files from build
This commit is contained in:
parent
2198d0b1ec
commit
00d5ece202
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue