Skip to content

Commit

Permalink
Use pip to install setup.py dependency instead of `python setup.py in…
Browse files Browse the repository at this point in the history
…stall`
  • Loading branch information
qiluo-msft committed Oct 20, 2021
1 parent 14aca81 commit 6486ed2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions slave.mk
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ $(addprefix $(PYTHON_WHEELS_PATH)/, $(SONIC_PYTHON_WHEELS)) : $(PYTHON_WHEELS_PA
pushd $($*_SRC_PATH) $(LOG_SIMPLE)
# apply series of patches if exist
if [ -f ../$(notdir $($*_SRC_PATH)).patch/series ]; then QUILT_PATCHES=../$(notdir $($*_SRC_PATH)).patch quilt push -a; fi
pip$($*_PYTHON_VERSION) install .
if [ ! "$($*_TEST)" = "n" ]; then python$($*_PYTHON_VERSION) setup.py test $(LOG); fi
python$($*_PYTHON_VERSION) setup.py bdist_wheel $(LOG)
# clean up
Expand Down

0 comments on commit 6486ed2

Please sign in to comment.