-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (68 loc) · 1.54 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (68 loc) · 1.54 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mpoptimize"
version = "0.1.0"
description = "High-precision optimization and asymptotic ISD artifact scripts for worst-case GBP."
readme = "README.md"
requires-python = ">=3.10,<3.13"
license = "MIT"
authors = [
{ name = "tl2cents, assisted by Codex with GPT 5.5" },
]
dependencies = [
"matplotlib==3.8.0",
"mpmath==1.3.0",
"numpy==1.26.3",
"scipy==1.11.4",
]
[project.optional-dependencies]
artifact = [
"matplotlib==3.8.0",
"mpmath==1.3.0",
"numpy==1.26.3",
"scipy==1.11.4",
]
test = [
"pytest>=8",
]
dev = [
"pytest>=8",
]
[project.scripts]
regular-rgbp-points = "regular_isd_rgbp_points:main"
standard-lgbp-points = "standard_isd_lgbp_points:main"
plot-wc-rgbp = "plot_wc_rgbp:main"
plot-wc-lgbp = "plot_wc_lgbp:main"
plot-sdp-paras = "plot_sdp_paras:main"
plot-wc-gbp = "plot_wc_gbp:main"
plot-optimal-wcgbp = "plot_optimal_wcgbp:main"
[tool.setuptools]
package-dir = { "" = ".", "mpoptimize" = "src/mpoptimize" }
py-modules = [
"mp_optimizer",
"mp_regular_isd",
"mp_regular_sampler",
"mp_standard_isd",
"mp_standard_sampler",
"mp_transform",
"mp_utils",
"mp_validator",
"plot_common",
"plot_wc_gbp",
"plot_optimal_wcgbp",
"plot_sdp_paras",
"plot_wc_lgbp",
"plot_wc_rgbp",
"regular_isd_rgbp_points",
"standard_isd_lgbp_points",
]
[tool.setuptools.packages.find]
where = ["src"]
include = ["mpoptimize*"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
[tool.uv]
package = true