Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ jobs:
run: |
pip install .
- name: Check that docs can be built
# note we don't build this on macOS because the GHA python is built with
# the wrong version of macOS, confusing clang.
# See: https://github.com/actions/virtual-environments/issues/696
if: startsWith(matrix.os, 'ubuntu')
run: |
pip install sphinx sphinx_rtd_theme breathe ipython
make docs
6 changes: 6 additions & 0 deletions docs/source/tutorial/setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import ast
import glob
import os
import sys

from libpy.build import LibpyExtension
from setuptools import find_packages, setup
Expand All @@ -16,13 +17,18 @@


def extension(*args, **kwargs):
extra_compile_args = []
if sys.platform == 'darwin':
extra_compile_args.append('-mmacosx-version-min=10.15')

return LibpyExtension(
*args,
optlevel=optlevel,
debug_symbols=debug_symbols,
werror=True,
max_errors=max_errors,
include_dirs=["."] + kwargs.pop("include_dirs", []),
extra_compile_args=extra_compile_args,
depends=glob.glob("**/*.h", recursive=True),
**kwargs
)
Expand Down