2 Commits
Author SHA1 Message Date
Daeho Ro b16d16fcb3 Exclude Cargo target dir from wheel builds
python-source = "." makes maturin walk the whole project tree when
collecting files for the wheel. The Rust crate lives inside the package
at gamdl/downloader/ammuxer, so its Cargo target/ dir (including the
output wheel maturin is writing into target/wheels/) gets pulled into
the wheel. Building from a git checkout is unaffected because .gitignore
excludes target/, but sdists do not ship .gitignore, so any source build
(e.g. pip install --no-binary :all:, distro packaging) recursively packs
the growing output wheel into itself and maturin aborts with:

    Failed to write to zip archive for gamdl-3.8.3-...whl
    Large file option has not been set

Add an explicit exclude so target/ is dropped regardless of .gitignore.
2026-07-14 12:38:26 +09:00
Daeho Ro 68d12ef582 Bump pyo3 to 0.27 for Python 3.14 support 2026-07-12 16:44:28 +09:00