Skip to content

Commit

Permalink
Give scikit-build access to local C++ sources
Browse files Browse the repository at this point in the history
  • Loading branch information
victorreijgwart committed Sep 4, 2024
1 parent 2f1477c commit 462365f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Build
working-directory: ${{github.workspace}}/library/python
run: pip install -v .
run: pip3 install -v .

- name: Test
working-directory: ${{github.workspace}}/library/python
run: |
pip install -v '.[test]'
pip3 install -v '.[test]'
pytest -rAv
2 changes: 1 addition & 1 deletion library/cpp/cmake/find-wavemap-deps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ endif ()

# GLOG
if (USE_SYSTEM_GLOG)
find_package(glog QUIET NO_MODULE)
find_package(glog QUIET)
if (NOT glog_FOUND)
find_package(PkgConfig QUIET)
if (PkgConfig_FOUND)
Expand Down
3 changes: 3 additions & 0 deletions library/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ test = ["pytest"]
build-dir = "build/{wheel_tag}"
minimum-version = "0.4"
cmake.minimum-version = "3.18"
editable.mode = "redirect"
editable.rebuild = true
editable.verbose = true
wheel.py-api = "cp312"

[tool.cibuildwheel]
Expand Down

0 comments on commit 462365f

Please sign in to comment.