#!/bin/bash

# Download
cd /tmp
rm -rf mmcv
git clone https://github.com/open-mmlab/mmcv.git -b v0.2.14

# Install
cd /tmp/mmcv
sed -i "s# 'opencv-python',##g" setup.py
source /home/miniconda3/bin/activate ci
python setup.py install

# Package
python setup.py bdist_wheel
