Skip to content

Commit 001db7b

Browse files
committed
Fix build: disable GUI in setup.py to avoid OpenGL dependency
1 parent a8fd456 commit 001db7b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: |
5353
python -m pip install --upgrade pip
5454
pip install sphinx furo numpydoc breathe myst-parser
55-
CMAKE_ARGS="-DBUILD_GUI=OFF" pip install -e .
55+
pip install -e .
5656
5757
- name: Build documentation (Doxygen + Sphinx)
5858
working-directory: docs

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def build_extension(self, ext):
3636
f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={extdir}",
3737
f"-DPYTHON_EXECUTABLE={sys.executable}",
3838
"-DBUILD_PYTHON_BINDINGS=ON",
39+
"-DBUILD_GUI=OFF",
3940
]
4041

4142
cfg = "Debug" if self.debug else "Release"

0 commit comments

Comments
 (0)