Skip to content

Commit

Permalink
backend.py: add hook for get_requires_for_build_editable as well
Browse files Browse the repository at this point in the history
  • Loading branch information
anthrotype committed Mar 8, 2024
1 parent 0b194f6 commit 3673068
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _custom_build/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ def get_requires_for_build_wheel(config_settings=None):
build_wheel_deps += ["certifi", "cmake"]

return build_wheel_deps


def get_requires_for_build_editable(config_settings=None):
# ensure pip install -e . uses same build deps as regular pip install/wheel
return get_requires_for_build_wheel(config_settings)

0 comments on commit 3673068

Please sign in to comment.