diff --git a/Makefile b/Makefile index 010121f3..e99b3ac9 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ validate-newsfragments: check-docs: build-docs validate-newsfragments build-docs: - sphinx-apidoc -o docs/ . setup.py "*conftest*" tests/ + sphinx-apidoc -o docs/ . "*conftest*" tests/ $(MAKE) -C docs clean $(MAKE) -C docs html $(MAKE) -C docs doctest diff --git a/pyproject.toml b/pyproject.toml index 04f2449a..c5adfb11 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -221,12 +221,7 @@ values = ["alpha", "beta", "stable"] [tool.bumpversion.part.devnum] [[tool.bumpversion.files]] -filename = "setup.py" -search = "version=\"{current_version}\"" -replace = "version=\"{new_version}\"" - -[[tool.bumpversion.files]] -filename = "pyproject.toml" # Keep pyproject.toml version in sync +filename = "pyproject.toml" search = 'version = "{current_version}"' replace = 'version = "{new_version}"'