Skip to content

Commit

Permalink
BLD: Update build backend to allow editable installs
Browse files Browse the repository at this point in the history
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
python-poetry/poetry#2956 (comment)
and
https://python-poetry.org/docs/faq/#is-tox-supported
  • Loading branch information
Jacob-Stevens-Haas committed Jun 18, 2022
1 parent b2c2a4f commit b3c162c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit b3c162c

Please sign in to comment.