-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (47 loc) · 1.3 KB
/
pyproject.toml
File metadata and controls
55 lines (47 loc) · 1.3 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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "blaze"
version = "0.1.0"
description = "High-dimensional tensor compression via Tensor Train / MPS, with CUDA acceleration and Cirq integration (Fase 1: pure Python prototype)"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [{name = "Blaze Team"}]
dependencies = [
"numpy>=1.24",
"scipy>=1.10",
]
[project.optional-dependencies]
quantum = [
"cirq-core>=1.3; python_version >= '3.10'",
"quimb>=1.7",
# cirq pulls pandas; pandas < 2.2.2 is ABI-incompatible with numpy >= 2.
"pandas>=2.2.2,<3; python_version >= '3.10'",
]
dev = [
"pytest>=7.0",
"ruff>=0.4",
"matplotlib>=3.7", # docs/plots.py — regenerates the README benchmark figures
]
[project.scripts]
# CLI will come in later phases; placeholder for Fase 1
blaze = "blaze.cli:main"
[tool.setuptools.packages.find]
where = ["python"]
include = ["blaze*"]
[tool.maturin]
python-source = "python"
module-name = "blaze._rust"
bindings = "pyo3"
manifest-path = "crates/blaze-py/Cargo.toml"
[tool.setuptools.package-data]
blaze = ["py.typed"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-q"