mirror of
				https://github.com/cookiecutter/cookiecutter-django.git
				synced 2025-11-04 09:57:30 +03:00 
			
		
		
		
	Remove empty setup.py and references to it (#5355)
This commit is contained in:
		
							parent
							
								
									ea4cd48e6c
								
							
						
					
					
						commit
						d6f18f04a9
					
				| 
						 | 
					@ -124,7 +124,7 @@ def write_changelog(file_path: Path, release: str, content: str) -> None:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def update_version(file_path: Path, release: str) -> None:
 | 
					def update_version(file_path: Path, release: str) -> None:
 | 
				
			||||||
    """Update template version in setup.py."""
 | 
					    """Update template version in pyproject.toml."""
 | 
				
			||||||
    old_content = file_path.read_text()
 | 
					    old_content = file_path.read_text()
 | 
				
			||||||
    updated_content = re.sub(
 | 
					    updated_content = re.sub(
 | 
				
			||||||
        r'\nversion = "\d+\.\d+\.\d+"\n',
 | 
					        r'\nversion = "\d+\.\d+\.\d+"\n',
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user