Skip to content

Commit

Permalink
simplify build deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Dec 8, 2024
1 parent 14c0bd2 commit 910aae2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ jobs:
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip setuptools
DEPENDENCIES=$(python -c 'from setuptools.config.setupcfg import read_configuration as c; a = c("setup.cfg"); print(" ".join(a["options"]["install_requires"][1:]))')
pip install ${DEPENDENCIES}
DOCDEPENDENCIES=$(python -c 'with open("docs/requirements.txt") as a: available = list(a); print(" ".join(map(lambda x : x.strip(), filter(lambda x : not x.startswith("#"), available))))')
pip install ${DOCDEPENDENCIES}
pip install cmake pybind11 numpy tox assorthead mattress>=0.1.4
- name: Build docs
run: |
Expand Down

0 comments on commit 910aae2

Please sign in to comment.