-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMANIFEST.in
More file actions
40 lines (35 loc) · 1.4 KB
/
Copy pathMANIFEST.in
File metadata and controls
40 lines (35 loc) · 1.4 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
# Include documentation
include README.md
include LICENSE
include CHANGELOG.md
# The native runtime (pilot-daemon, pilotctl, pilot-updater, libpilot.*) is
# deliberately NOT shipped in the sdist.
#
# Those binaries are platform-specific and are staged into pilotprotocol/bin/
# by the publish workflow just before the wheel is built, so whatever host
# builds the sdist would otherwise bake ITS OWN os/arch binaries into a
# platform-neutral artifact. That is exactly what shipped in <=1.13.6: the
# sdist was cut on the Linux runner, so every platform without a matching
# wheel (macOS on any Python != 3.11, and all arm64 Linux) silently installed
# Linux x86-64 ELF binaries and then failed at run time with a confusing
# "cannot open shared object file" / missing-libpilot.dylib error.
#
# The wheel still carries them via [tool.setuptools.package-data]; only the
# sdist is pruned. Installing from sdist now yields a clearly-diagnosable
# "libpilot not found" instead of a wrong-architecture payload.
prune pilotprotocol/bin
# Include type stubs if any
recursive-include pilotprotocol *.pyi
include pilotprotocol/py.typed
# Exclude tests and coverage reports
recursive-exclude tests *
exclude .coverage
exclude coverage.json
recursive-exclude htmlcov *
exclude .pytest_cache
# Exclude development files
exclude .gitignore
exclude .pre-commit-config.yaml
exclude Makefile
exclude PYPI_SUMMARY.md
exclude CONTRIBUTING.md