forked from microsoft/DiskANN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
56 lines (48 loc) · 1.62 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[build-system]
requires = [
"setuptools>=59.6",
"pybind11>=2.10.0",
"cmake>=3.22",
"numpy==1.25", # this is important to keep fixed. It also means anyone using something other than 1.25 won't be able to use this library
"wheel",
"ninja"
]
build-backend = "setuptools.build_meta"
[project]
name = "diskannpy"
version = "0.7.0rc2"
description = "DiskANN Python extension module"
readme = "python/README.md"
requires-python = ">=3.9"
license = {text = "MIT License"}
dependencies = [
"numpy==1.25"
]
authors = [
{name = "Harsha Vardhan Simhadri", email = "[email protected]"},
{name = "Dax Pryce", email = "[email protected]"}
]
[project.optional-dependencies]
dev = ["black", "isort", "mypy"]
[tool.setuptools]
package-dir = {"" = "python/src"}
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.mypy]
plugins = "numpy.typing.mypy_plugin"
[tool.cibuildwheel]
manylinux-x86_64-image = "manylinux_2_28"
test-requires = ["scikit-learn~=1.2"]
build-frontend = "build"
skip = ["pp*", "*-win32", "*-manylinux_i686", "*-musllinux*"]
test-command = "python -m unittest discover {project}/python/tests"
[tool.cibuildwheel.linux]
before-build = [
"dnf makecache --refresh",
"dnf install -y epel-release",
"dnf config-manager -y --add-repo https://yum.repos.intel.com/mkl/setup/intel-mkl.repo",
"rpm --import https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB",
"dnf makecache --refresh -y",
"dnf install -y wget make cmake gcc-c++ libaio-devel gperftools-libs libunwind-devel clang-tools-extra boost-devel boost-program-options intel-mkl-2020.4-912"
]