Skip to content

Commit

Permalink
builddeps
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Sep 28, 2023
1 parent a3da10f commit 13f68c5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion layers/meta-opentrons/classes/pipenv_app_bundle.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,16 @@ PIP_ARGS := "--no-compile \
do_compile () {
mkdir -p ${B}/pip-downloads

bbnote "Installing common build deps ahead of time"
${PIP_ENVARGS} ${PYTHON} -m pip download \
--dest=${B}/pip-downloads \
-- \
flit setuptools setuptools_scm[toml]

bbnote "Downloading pypi packages"

${PIP_ENVARGS} ${PYTHON} -m pip download \
-r ${B}/pypi.txt \
${PIP_ARGS} \
--no-deps \
--dest=${B}/pip-downloads/ \
-vvv
Expand All @@ -167,7 +172,9 @@ do_compile () {

${PIP_ENVARGS} ${PYTHON} -m pip install \
--no-index --find-links=${B}/pip-downloads/ \
${PIP_ARGS} \
-r ${B}/pypi.txt \
--no-deps \
-vvv

bbnote "Building and installing local packages"
Expand Down

0 comments on commit 13f68c5

Please sign in to comment.