Remove empty setup.py and references to it (#5355)

This commit is contained in:
Jelmer 2024-09-06 17:30:55 +02:00 committed by GitHub
parent ea4cd48e6c
commit d6f18f04a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

View File

@ -9,4 +9,4 @@ commands = pytest -n auto {posargs:./tests}
[testenv:black-template] [testenv:black-template]
deps = black deps = black
commands = black --check hooks tests setup.py docs scripts commands = black --check hooks tests docs scripts