Release v0.15.1: Packaging Fix
What's New
📦 Packaging Fix Release
- Resolves PyPI upload error from v0.15.0 due to package size exceeding 100MB limit
- Reduces package size from 108MB to 418KB (99.6% reduction)
- Same functionality as v0.15.0, only packaging configuration changes
Major Features / Key Changes
📦 Package Size Optimization
- Source distribution configuration: Configured
pyproject.tomlto include only essential files - Excluded directories: Removed docs, examples, images, tests, and cache directories from distribution
- Size reduction: Achieved 99.6% size reduction (108MB → 418KB)
- Faster installation: Significantly improved pip install speed
📋 Files Included in Distribution
src/- All source code and package modulesREADME.md/README_zh.md- Project documentationLICENSE- Apache 2.0 licenseCHANGELOG.md- Version historyCITATION.cff- Citation informationpyproject.toml- Package configuration
Technical Notes
- No functional changes: This release contains identical functionality to v0.15.0
- PyPI compatibility: Resolves "File too large" error when uploading to PyPI
- Backward compatible: Drop-in replacement for v0.15.0
- Documentation: Full documentation remains available at https://canns.readthedocs.io/
Installation
Install or upgrade to the latest version:
pip install --upgrade cannsOr install specific version:
pip install canns==0.15.1Full Changelog: v0.15.0...v0.15.1