From 324f2f59fe9624ddc68986d6372ae3ed8f89bfb4 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Wed, 15 May 2024 11:39:23 +0100 Subject: [PATCH] setuptools & venvs --- .github/workflows/deploy-gh-pages.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index e1b08c1ec28b..73a0380cf6b2 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -52,7 +52,8 @@ jobs: run: | poetry install -C openbb_platform --no-interaction source openbb_platform/.venv/bin/activate - pip install -U poetry + # poetry removes setuptools and we need it + pip install setuptools pip install toml python openbb_platform/dev_install.py -e all python -c "import openbb; openbb.build()" @@ -60,10 +61,12 @@ jobs: - name: Generate Excel Docs run: | + source openbb_platform/.venv/bin/activate python website/generate_excel_markdown.py - name: Generate Widgets Library run: | + source openbb_platform/.venv/bin/activate python website/generate_widgets_library.py - name: Setup Node