-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a numpy dependency with pkg-config and configtool methods
These are being added for NumPy 2.0 The implementation closely follows the one for the pybind11 dependency.
- Loading branch information
Showing
4 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## New numpy custom dependency | ||
|
||
Support for `dependency('numpy')` was added, via supporting the `numpy-config` tool and | ||
pkg-config support, both of which are available since NumPy 2.0.0. | ||
|
||
Config-tool support is useful because it will work out of the box when | ||
``numpy`` is installed, while the pkg-config file is located inside python's | ||
site-packages, which makes it impossible to use in an out of the box manner | ||
without setting `PKG_CONFIG_PATH`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters