# Pip constraints — use WITH scripts/install_biodex.sh (not raw requirements.txt alone).
#
# megadetector 10.x (ultralytics-yolov5) requires protobuf<=3.20.1.
# speciesnet/onnx prefer newer protobuf; install megadetector FIRST, then speciesnet.
#
# Working sequence (encoded in scripts/install_biodex.sh):
#   1. pip install protobuf==3.20.1
#   2. pip install "megadetector>=10.0,<11.0"
#   3. pip install -r requirements-base.txt
#   4. pip install "speciesnet>=5.0,<6.0"
#   5. pip install -e ".[dev]"
#   6. pip install protobuf==3.20.1 --force-reinstall
#   7. bash scripts/setup_gpu.sh   # optional: NVIDIA GPU on your machine

protobuf==3.20.1
setuptools>=65.0,<81.0
