build: exclude requirements.txt

This commit is contained in:
Ming Di Leom 2023-02-04 09:46:23 +00:00
parent 7529622fb2
commit 9982d3ba68
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def exclusion(tarinfo):
# exclude certain folders/files
pathname = tarinfo.name
if search(
r"/\.|\\\.|__pycache__|pyproject.toml|requirements-dev.txt|build.py|tar.gz", pathname
r"/\.|\\\.|__pycache__|pyproject.toml|requirements|build.py|tar.gz", pathname
):
return None