Installation¶
Requirements¶
cysox requires:
- Python 3.9 or later
- libsox development libraries
- A C compiler (for building from source)
Installing libsox¶
macOS (Homebrew)¶
Linux (Ubuntu/Debian)¶
sudo apt-get install libsox-dev libsndfile1-dev libflac-dev \
libmp3lame-dev libvorbis-dev libopus-dev pkg-config
Linux (Fedora/RHEL)¶
sudo dnf install sox-devel libsndfile-devel flac-devel \
lame-devel libvorbis-devel opus-devel pkg-config
Windows¶
Windows support is experimental. You need to:
- Install libsox (e.g., via vcpkg or manual build)
- Set environment variables:
SOX_INCLUDE_DIR: Path to sox headersSOX_LIB_DIR: Path to sox libraries
Installing cysox¶
From PyPI¶
From Source¶
Building a Wheel¶
Development Installation¶
Verifying Installation¶
Platform Support¶
| Platform | Status | Notes |
|---|---|---|
| macOS | Full | Primary development platform |
| Linux | Full | Tested on Ubuntu, Fedora |
| Windows | Partial | Requires manual libsox setup |