-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (51 loc) · 1.28 KB
/
pyproject.toml
File metadata and controls
61 lines (51 loc) · 1.28 KB
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
[project]
name = "diffcp"
dynamic = ["version"]
description = "A library to compute gradients for convex optimization problems"
requires-python = ">= 3.10"
readme = "README.md"
dependencies = [
"numpy >= 2.0",
"scipy >= 1.10",
"scs >= 3.0.0",
"threadpoolctl >= 1.1",
]
urls = {Homepage = "https://github.com/cvxgrp/diffcp/"}
license = {text = "Apache License, Version 2.0"}
[build-system]
requires = [
"scikit-build-core",
"setuptools-scm >= 8",
"pybind11>=2.4",
]
build-backend = "scikit_build_core.build"
[project.optional-dependencies]
cvxpy = [
"cvxpy >= 1.6.3",
]
clarabel = [
"clarabel >= 0.5.1",
]
ecos = [
"ecos >= 2.0.10",
]
test = [
"clarabel >= 0.5.1",
"cvxpy >= 1.6.3",
"scs >= 3.0.0",
"pytest>=8.3.5",
"ecos >= 2.0.10",
]
[tool.scikit-build]
wheel.expand-macos-universal-tags = true
wheel.packages = ["src/diffcp"]
[tool.scikit-build.sdist]
include = ["src/diffcp/_version.py"]
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.setuptools_scm"
[tool.setuptools_scm]
version_file = "src/diffcp/_version.py"
version_scheme = "semver-pep440-release-branch"
fallback_version = "0.0.0"
[tool.setuptools_scm.scm.git]
describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--match", "v*"]