-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathMANIFEST.in
More file actions
92 lines (79 loc) · 3.12 KB
/
Copy pathMANIFEST.in
File metadata and controls
92 lines (79 loc) · 3.12 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
# ═══════════════════════════════════════════════════════════════════════════════
# MANIFEST.in — Controls what goes into the source distribution (sdist)
# ═══════════════════════════════════════════════════════════════════════════════
# The sdist must contain everything needed to build the wheel from source:
# - Python source (py-xbbg/src/xbbg/)
# - Active Rust workspace members required by Cargo metadata
# - Build config (pyproject.toml, .cargo/config.toml)
#
# It should NOT contain dev-only files (docs, benchmarks, CI, vendor SDK, etc.)
# ── Include build essentials ─────────────────────────────────────────────────
include pyproject.toml
include Cargo.toml
include Cargo.lock
include LICENSE
include README.md
include deny.toml
# Cargo config (env vars for Rust build)
include .cargo/config.toml
# Python source
recursive-include py-xbbg/src *.py *.pyi
# Rust workspace crates needed for the build
recursive-include crates/blpapi-sys *.rs *.toml
recursive-include crates/xbbg-core *.rs *.toml
recursive-include crates/xbbg-async *.rs *.toml
recursive-include crates/xbbg-sys *.rs *.toml
recursive-include crates/xbbg-ext *.rs *.toml
recursive-include crates/xbbg-recipes *.rs *.toml
recursive-include crates/xbbg-log *.rs *.toml
recursive-include crates/xbbg-bench *.rs *.toml
# Cargo workspace members outside crates/. Cargo metadata resolves the whole active
# workspace even though only pyo3-xbbg is compiled for the Python wheel.
recursive-include bindings/pyo3-xbbg *.rs *.toml
recursive-include bindings/napi-xbbg *.rs *.toml
recursive-include apps/xbbg-mcp *.rs *.toml
# Codegen (needed for workspace compilation)
recursive-include defs/codegen *.py
# Definition files (schema defs used by crates)
recursive-include defs *
# Examples/tests are not needed to build the wheel. xbbg-bench benches stay in
# the sdist because Cargo.toml declares them as explicit bench targets.
prune crates/xbbg-core/examples
prune crates/xbbg-core/tests
prune crates/xbbg-async/tests
# Inactive language bindings / applications (not active Cargo workspace members)
prune bindings/dotnet-xbbg
prune apps/xbbg-cli
# Dev/CI files
prune .github
prune docker
prune archive
prune py-xbbg/benchmarks
prune py-xbbg/docker
prune py-xbbg/examples
prune scripts
prune vendor
prune crates/blpapi-sys/vendor
prune js-xbbg
prune js-xbbg-langgraph
prune py-xbbg/tests
# Build artifacts
prune target
prune dist
prune .venv
prune .pixi
prune .uv-cache
prune .ruff_cache
prune .pytest_cache
# Misc dev files
exclude .gitattributes
exclude .gitignore
exclude .markdownlint.json
exclude .pre-commit-config.yaml
exclude .github/edge-cases.md
exclude pixi.toml
exclude pixi.lock
exclude CONTRIBUTING.md
exclude CODE_OF_CONDUCT.md
exclude RELEASE_PROCESS.md
exclude CHANGELOG.md