Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
add virtualenv env var
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewfrench committed Feb 28, 2024
1 parent 71ee8f3 commit 3ea6c52
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ build:
python: "3.11"
jobs:
post_create_environment:
- pip install poetry
- poetry config virtualenvs.create false
- git clone -b $([ $READTHEDOCS_VERSION_NAME = "latest" ] && echo "main" || echo "dev") https://github.com/griptape-ai/griptape.git
post_install:
- python -m pip install poetry
- poetry export --without-hashes -f requirements.txt -o requirements.txt
- cat requirements.txt
- python -m pip install -r requirements.txt
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs

mkdocs:
configuration: mkdocs.yml
Expand Down

0 comments on commit 3ea6c52

Please sign in to comment.