-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
38 lines (33 loc) · 1.11 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
[build-system]
requires = ["scikit-build-core", "nanobind"]
build-backend = "scikit_build_core.build"
[project]
name = "pyoptinterface"
version = "0.3.0"
description = "Python interface to multiple optimization solvers"
readme = "README.md"
requires-python = ">=3.9"
authors = [{ name = "Yue Yang", email = "[email protected]" }]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
]
[project.urls]
Homepage = "https://github.com/metab0t/pyoptinterface"
[project.optional-dependencies]
matrix = ["numpy", "scipy"]
highs = ["highsbox"]
nlp = ["llvmlite", "tccbox"]
test = ["pytest", "numpy", "scipy>=1.11.0", "highsbox", "llvmlite", "tccbox"]
[tool.scikit-build]
editable.rebuild = true
build-dir = "build/{wheel_tag}"
cmake.build-type = "Release"
# Build stable ABI wheels for CPython 3.12+
wheel.py-api = "cp312"
[tool.scikit-build.cmake.define]
PYTHON_VERSION = { env = "PYTHON_VERSION", default = "3.8" }
CMAKE_FIND_DEBUG_MODE = "OFF"
ENABLE_TEST_MAIN = "OFF"