From b714862bf82aeaaa1c28a252e149ac1c98f4f6b4 Mon Sep 17 00:00:00 2001 From: Jesse Myrberg Date: Tue, 15 Nov 2022 21:27:06 +0200 Subject: [PATCH] Use editable install in .readthedocs.yml (#44) * Remove mknapsack.tests * Switch to editable install in .readthedocs.yml --- .readthedocs.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index d83e01c..6534513 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -12,6 +12,10 @@ build: - gfortran tools: python: "3.9" + jobs: + pre_install: + - export SETUPTOOLS_ENABLE_FEATURES=legacy-editable + - pip install -e . # Build documentation in the docs/ directory with Sphinx sphinx: @@ -23,5 +27,3 @@ sphinx: python: install: - requirements: docs/requirements.txt - - method: pip - path: .