Skip to content

Commit

Permalink
Docs: Apply suggestions from CR regarding Poetry example
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Nov 23, 2022
1 parent ef89302 commit 6a758a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user/build-customization.rst
Expand Up @@ -310,7 +310,7 @@ Install dependencies with Poetry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Projects managed with `Poetry <https://python-poetry.org/>`__,
can use the ``post_create_environment`` user-defined job to install Poetry and ``post_install`` to install Python dependencies.
can use the ``post_create_environment`` user-defined job to use Poetry for installing Python dependencies.
Take a look at the following example:


Expand All @@ -326,10 +326,10 @@ Take a look at the following example:
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- poetry install --with docs
Expand Down

0 comments on commit 6a758a9

Please sign in to comment.