diff --git a/.conda/recipe.yaml b/.conda/recipe.yaml index 0783f99..1110973 100644 --- a/.conda/recipe.yaml +++ b/.conda/recipe.yaml @@ -10,8 +10,6 @@ build: noarch: python script: - set PIP_NO_INDEX= -# - python -m pip install paho-mqtt opentrons_shared_data -# - python -m pip install git+https://github.com/Xuwznln/pylabrobot.git - if: win then: - copy %RECIPE_DIR%\..\MANIFEST.in %SRC_DIR% diff --git a/.conda/scripts/post-link.bat b/.conda/scripts/post-link.bat new file mode 100644 index 0000000..352b78c --- /dev/null +++ b/.conda/scripts/post-link.bat @@ -0,0 +1,9 @@ +@echo off +setlocal enabledelayedexpansion + +REM upgrade pip +"%PREFIX%\python.exe" -m pip install --upgrade pip + +REM install extra deps +"%PREFIX%\python.exe" -m pip install paho-mqtt opentrons_shared_data +"%PREFIX%\python.exe" -m pip install git+https://github.com/Xuwznln/pylabrobot.git diff --git a/.conda/scripts/post-link.sh b/.conda/scripts/post-link.sh new file mode 100644 index 0000000..ef96f15 --- /dev/null +++ b/.conda/scripts/post-link.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +set -euxo pipefail + +# make sure pip is available +"$PREFIX/bin/python" -m pip install --upgrade pip + +# install extra deps +"$PREFIX/bin/python" -m pip install paho-mqtt opentrons_shared_data +"$PREFIX/bin/python" -m pip install git+https://github.com/Xuwznln/pylabrobot.git