From b3c162cfd1a4973f12fe6cc32de84154f17cd8d0 Mon Sep 17 00:00:00 2001 From: Jake Stevens-Haas Date: Fri, 17 Jun 2022 19:56:41 -0700 Subject: [PATCH] BLD: Update build backend to allow editable installs This allows editable installs of packages without a setup.py, a la ``` pip install -e derivative ``` PEP-660 supported by poetry.core ~=1.0.0. Following recommendation in https://github.com/python-poetry/poetry/issues/2956#issuecomment-1002746798 and https://python-poetry.org/docs/faq/#is-tox-supported --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index aade5f4..1ef021a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,5 +33,5 @@ docs = ["sphinx", "nbsphinx", "ipykernel", "jupyter_client", "sphinx_rtd_theme", dev = ["pytest"] [build-system] -requires = ["poetry>=0.12"] -build-backend = "poetry.masonry.api" +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" \ No newline at end of file