Skip to content

Commit

Permalink
attempt to fix docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjward committed Nov 22, 2024
1 parent 9f6c8b5 commit 463eb23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/pyop2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
id: setup-python
with:
python-version: ${{ matrix.python-version }}
# By default setup-python pollutes the environment in such a way that virtual
# environments cannot be used. This prevents us from building libsupermesh because
# it relies on having rtree installed into a venv.
# https://github.com/actions/setup-python/issues/851
# https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#using-update-environment-flag
update-environment: false
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def __getitem__(self, key):
include_dirs=[f"{sys.prefix}/include"],
library_dirs=[f"{sys.prefix}/lib"],
libraries=["supermesh"],
runtime_library_dirs=[os.path.join(site.getsitepackages()[0], "supermesh", "lib")]
runtime_library_dirs=[f"{sys.prefix}/lib"],
)

# The following extensions need to be linked accordingly:
Expand Down

0 comments on commit 463eb23

Please sign in to comment.