Repository navigation
Expand file tree
/
Copy pathhatch.toml
More file actions
94 lines (92 loc) · 2.99 KB
/
Copy pathhatch.toml
File metadata and controls
94 lines (92 loc) · 2.99 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# What ships is an ALLOWLIST. The two lists below name the files that go into
# the published wheel and sdist; anything not named is not published.
#
# WHY NOT AN EXCLUDE LIST. Under `exclude`, a new file is published by default
# and stays published until someone remembers to list it. Under `only-include`,
# a new file is absent until someone adds it here deliberately -- so a mistake
# surfaces as a missing feature, which you notice at once, rather than as an
# unintended publication, which you may not notice at all. Prefer the default
# that fails safely.
#
# NOTE, load-bearing: hatchling reads THIS file INSTEAD OF the [tool.hatch]
# table in pyproject.toml; it does not merge the two. pyproject still carries
# `[tool.hatch.build.targets.wheel] packages = ["src/zilver"]`, which has no
# effect while this file exists. Moving these settings into pyproject, or
# deleting this file, changes what ships and reports no error either way.
#
# Keep the two lists in step: the wheel ships the package, the sdist ships the
# package plus the docs and examples.
[build.targets.wheel]
only-include = [
"src/zilver/__init__.py",
"src/zilver/_array.py",
"src/zilver/accel.py",
"src/zilver/batch_distributor.py",
"src/zilver/circuit.py",
"src/zilver/cli.py",
"src/zilver/client.py",
"src/zilver/coordinator.py",
"src/zilver/cutting.py",
"src/zilver/density_matrix.py",
"src/zilver/fused.py",
"src/zilver/gates.py",
"src/zilver/gpu.py",
"src/zilver/gradients.py",
"src/zilver/hip_ext.py",
"src/zilver/landscape.py",
"src/zilver/metal.py",
"src/zilver/node_types.py",
"src/zilver/node.py",
"src/zilver/passes.py",
"src/zilver/qasm_bridge.py",
"src/zilver/registry_server.py",
"src/zilver/registry.py",
"src/zilver/server.py",
"src/zilver/service.py",
"src/zilver/simulator.py",
"src/zilver/tensor_network.py",
"src/zilver/verification.py",
"src/zilver/hip",
]
sources = ["src"]
[build.targets.sdist]
only-include = [
"src/zilver/__init__.py",
"src/zilver/_array.py",
"src/zilver/accel.py",
"src/zilver/batch_distributor.py",
"src/zilver/circuit.py",
"src/zilver/cli.py",
"src/zilver/client.py",
"src/zilver/coordinator.py",
"src/zilver/cutting.py",
"src/zilver/density_matrix.py",
"src/zilver/fused.py",
"src/zilver/gates.py",
"src/zilver/gpu.py",
"src/zilver/gradients.py",
"src/zilver/hip_ext.py",
"src/zilver/landscape.py",
"src/zilver/metal.py",
"src/zilver/node_types.py",
"src/zilver/node.py",
"src/zilver/passes.py",
"src/zilver/qasm_bridge.py",
"src/zilver/registry_server.py",
"src/zilver/registry.py",
"src/zilver/server.py",
"src/zilver/service.py",
"src/zilver/simulator.py",
"src/zilver/tensor_network.py",
"src/zilver/verification.py",
"src/zilver/hip",
"examples",
"README.md",
"QUICKSTART.md",
"CHANGELOG.md",
"NODES.md",
"MANIFESTO.md",
"CONTRIBUTING.md",
"LICENSE",
"NOTICE",
]