File setup.py of Package failed_python-python-snappy
from setuptools import setup, find_packages
# Minimal pure-Python setup to avoid building the C/C++ extension on platforms
# where compilation fails (e.g. riscv64). The original package attempted to
# build a compiled extension (snappymodule.cc) which can fail on some targets.
# To keep the package installable as a fallback, we provide a lightweight
# installer that installs the snappy Python package contents without compiling
# native extensions. This change is intentionally minimal to avoid build-time
# compilation errors while preserving the pure-Python parts of the project.
setup(
name="python-snappy",
version="0.6.0",
description="Python bindings for the Snappy compression library (pure-Python fallback)",
packages=find_packages(include=["snappy", "snappy.*"]),
package_dir={"snappy": "snappy"},
include_package_data=True,
install_requires=[],
zip_safe=False,
)