Skip to content

Commit

Permalink
Use a conda backend; install requirements with conda
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Mar 27, 2024
1 parent 3c7589c commit c02f58e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ def prepare_docs(session: nox.Session) -> None:
)


@nox.session(name="build-docs")
@nox.session(name="build-docs", venv_backend="conda")
def build_docs(session: nox.Session) -> None:
"""Build the docs."""
session.install("-r", "docs/requirements.txt")
session.conda_install("--file", "docs/requirements.txt")
session.install("-e", ".")

prepare_docs(session)
Expand Down

0 comments on commit c02f58e

Please sign in to comment.