Skip to content

Commit

Permalink
Poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Oct 19, 2023
1 parent 687fa28 commit 6aa44f1
Show file tree
Hide file tree
Showing 4 changed files with 458 additions and 70 deletions.
23 changes: 17 additions & 6 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,18 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.12"
python: "3.11"
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
# # Export dependencies to a requirements.txt file in the docs/ directory
# - poetry export -f requirements.txt --output docs/requirements.txt --with docs
post_install:
- poetry install --with docs

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand All @@ -25,8 +36,8 @@ sphinx:
# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- method: pip
path: .
- requirements: docs/requirements.txt
# python:
# install:
# - method: pip
# path: .
# - requirements: docs/requirements.txt
2 changes: 0 additions & 2 deletions docs/requirements.txt → docs/requirements.bak
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ sphinx_celery>=2.0.0
Sphinx==5.3.0
sphinx-testing~=1.0.1
sphinx-click==4.4.0
pylibmc==1.6.3
memcached==1.59
Loading

0 comments on commit 6aa44f1

Please sign in to comment.