diff --git a/CHANGES b/CHANGES index bbea8709bcf..70f1a0c5483 100644 --- a/CHANGES +++ b/CHANGES @@ -39,6 +39,9 @@ Features added Bugs fixed ---------- +* #11418: Remove distutils entry point and any other references to + ``setup_command`` from pyproject.toml + Testing -------- diff --git a/pyproject.toml b/pyproject.toml index 7b48d4efea9..cd21fb6bc68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -105,9 +105,6 @@ sphinx-quickstart = "sphinx.cmd.quickstart:main" sphinx-apidoc = "sphinx.ext.apidoc:main" sphinx-autogen = "sphinx.ext.autosummary.generate:main" -[project.entry-points."distutils.commands"] -build_sphinx = 'sphinx.setup_command:BuildDoc' - [tool.flit.module] name = "sphinx" @@ -344,7 +341,6 @@ module = [ "sphinx.ext.napoleon.docstring", "sphinx.pycode.parser", "sphinx.registry", - "sphinx.setup_command", "sphinx.testing.util", "sphinx.transforms.i18n", "sphinx.transforms.post_transforms.images", @@ -391,7 +387,6 @@ filterwarnings = [ ] markers = [ "apidoc", - "setup_command", ] testpaths = ["tests"]