build: exclude requirements.txt
This commit is contained in:
		
							parent
							
								
									7529622fb2
								
							
						
					
					
						commit
						9982d3ba68
					
				
							
								
								
									
										2
									
								
								build.py
								
								
								
								
							
							
						
						
									
										2
									
								
								build.py
								
								
								
								
							|  | @ -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 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue