torlando-tech
97e7017411
feat: Add pyproject.toml for Python packaging
...
Added pyproject.toml to enable pip installation and proper Python
packaging of the BLE interface. This file defines:
- Project metadata (name, version, description, authors)
- Python version support (3.8-3.13)
- Optional dependencies for Linux platform (bleak, bluezero, dbus-python)
- Development dependencies (pytest, coverage, async support)
- setuptools configuration for package structure
- pytest configuration
Benefits:
- Makes the package pip-installable: pip install .
- Enables optional extras: pip install .[linux] or pip install .[dev]
- Standardizes project metadata and dependencies
- Provides pytest configuration for consistent test runs
Usage:
pip install . # Core package only
pip install .[linux] # With Linux/BlueZ dependencies
pip install .[dev] # With development tools
pip install .[full] # Everything
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 00:28:13 -05:00