mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
When pip installs flask-sock into the venv, it finds simple-websocket already satisfied in ~/.local (user site-packages from a prior install) and skips installing it into the venv. The venv Python cannot import from ~/.local (user site-packages are disabled in venvs), so flask_sock's top-level "from simple_websocket import Server" raises ImportError, and all WebSocket features are silently disabled. Fix: explicitly list simple-websocket>=0.5.1 as an install target in setup.sh and requirements.txt so pip installs it into the venv regardless of what is already present in user or system site-packages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
# Core dependencies
|
|
flask>=3.0.0
|
|
flask-wtf>=1.2.0
|
|
flask-compress>=1.15
|
|
flask-limiter>=2.5.4
|
|
requests>=2.28.0
|
|
Werkzeug>=3.1.5
|
|
|
|
# ADS-B history (optional - only needed for Postgres persistence)
|
|
psycopg2-binary>=2.9.9
|
|
|
|
# BLE scanning with manufacturer data detection (optional - for TSCM)
|
|
bleak>=0.21.0
|
|
|
|
# Satellite tracking (optional - only needed for satellite features)
|
|
skyfield>=1.45
|
|
|
|
# DSC decoding and SSTV decoding (DSP pipeline)
|
|
scipy>=1.10.0
|
|
numpy>=1.24.0
|
|
|
|
# SSTV image output (optional - needed for SSTV image decoding)
|
|
Pillow>=9.0.0
|
|
|
|
# GPS dongle support (optional - only needed for USB GPS receivers)
|
|
pyserial>=3.5
|
|
|
|
# Meshtastic mesh network support (optional - only needed for Meshtastic features)
|
|
meshtastic>=2.0.0
|
|
|
|
# Deauthentication attack detection (optional - for WiFi TSCM)
|
|
scapy>=2.4.5
|
|
|
|
# QR code generation for Meshtastic channels (optional)
|
|
qrcode[pil]>=7.4
|
|
|
|
# BLE RPA resolution for BT Locate (optional - for SAR device tracking)
|
|
cryptography>=41.0.0
|
|
|
|
# Development dependencies (install with: pip install -r requirements-dev.txt)
|
|
# pytest>=7.0.0
|
|
# pytest-cov>=4.0.0
|
|
# ruff>=0.1.0
|
|
# black>=23.0.0
|
|
# mypy>=1.0.0
|
|
# WebSocket support for in-app audio streaming (KiwiSDR, Listening Post)
|
|
flask-sock
|
|
simple-websocket>=0.5.1
|
|
websocket-client>=1.6.0
|
|
|
|
# System health monitoring (optional - graceful fallback if unavailable)
|
|
psutil>=5.9.0
|
|
|
|
# Production WSGI server (optional - falls back to Flask dev server)
|
|
gunicorn>=21.2.0
|
|
gevent>=23.9.0
|