From c7ab2f58c7eb7e221f193c39e1f723a36c8e9aff Mon Sep 17 00:00:00 2001 From: Willem Mulder Date: Fri, 12 May 2023 11:19:27 +0200 Subject: [PATCH] Remove setup_command from pyproject.toml (#11363) --- CHANGES | 3 +++ pyproject.toml | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index bbea8709bcf..4027b624f78 100644 --- a/CHANGES +++ b/CHANGES @@ -39,6 +39,9 @@ Features added Bugs fixed ---------- +* #11363: 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"]