forked from jaak-s/macau
-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
95 lines (83 loc) · 2.66 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[build-system]
requires = [
"setuptools>=42",
"setuptools_scm",
"pybind11",
"scikit-build-core",
]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
sdist.include = ["python/smurff/_version.py"]
cmake.verbose = true
logging.level = "INFO"
[tool.scikit-build.cmake.define]
ENABLE_BOOST = "ON"
ENABLE_CMDLINE = "ON"
ENABLE_TESTS = "ON"
ENABLE_BLAS = "ON"
[tool.setuptools_scm] # Section required
write_to = "python/smurff/_version.py"
[tool.setuptools]
package-dir = {"" = "python"}
[project]
name = "smurff"
dynamic = ["version"]
description = "Bayesian Factorization Methods"
keywords = ["bayesian factorization machine-learning high-dimensional side-information"]
readme = "README.rst"
authors = [
{name = "Tom Vander Aa", email = "Tom.VanderAa@imec.be"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: C++",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"h5sparse-tensor",
"numpy",
"pandas",
"scikit-learn",
"scipy",
]
license = {text = "MIT"}
[project.urls]
Homepage = "http://github.com/ExaScience/smurff"
[project.scripts]
py_smurff = "smurff.cmdline:main"
[tool.cibuildwheel]
manylinux-x86_64-image = "vanderaa/manylinux2014_x86_64_smurff"
musllinux-x86_64-image = "vanderaa/musllinux_1_2_x86_64_smurff"
# We skip these:
# - PyPy: never tested, pandas does not seem to work
# - CPython 3.6: unsupported by scikit_build_core
# - CPython 3.7: unsupported by h5sparse
# - CPython 3.8: removed from manylinux/musllinux
# - i686 and win32: we do not care about 32bit
skip = "pp* cp36-* cp37-* cp38-* *musl* *-win32 *i686"
test-command = 'pytest -n auto {project}/python/test'
test-requires = 'parameterized pytest pytest-xdist'
[tool.cibuildwheel.macos.config-settings]
"cmake.define.HDF5_ROOT" = "/usr/local/hdf5"
"cmake.define.ENABLE_BLAS" = "ON"
"cmake.define.ENABLE_BOOST" = "OFF"
"cmake.define.ENABLE_CMDLINE" = "OFF"
"cmake.define.ENABLE_TESTS" = "OFF"
"cmake.define.BLA_VENDOR" = "Apple"
[tool.cibuildwheel.linux.config-settings]
"cmake.define.ENABLE_BLAS" = "ON"
"cmake.define.ENABLE_BOOST" = "OFF"
"cmake.define.ENABLE_CMDLINE" = "OFF"
"cmake.define.ENABLE_TESTS" = "OFF"
"cmake.define.BLA_VENDOR" = "OpenBLAS"
[tool.cibuildwheel.macos]
before-all = "ci/buildwheel/install_deps.sh"