Skip to content

Commit d6d3f05

Browse files
committed
Add PEP-518 support for numpy requirement
To enable installation of pdqhash when numpy is not already installed, we can add a pyproject.toml file to specify that numpy and cython are requirements of the build system for pdqhash.
1 parent 5973bae commit d6d3f05

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools >= 40.6.0", "wheel", "numpy", "cython"]
3+
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)