#!/bin/bash

apt-get update
apt-get install -y python3 python3-pip

pip3 install --upgrade pip

{% if version %}
pip3 install "mini-swe-agent=={{ version }}"
{% else %}
pip3 install mini-swe-agent
{% endif %}

echo "INSTALL_SUCCESS"