a1d30e3aa0
Remove Python 2 package installation from the base image. For container builds, reference Python 2 packages only if we're not building for Bullseye. For libyang, don't build Python 2 bindings at all, since they don't seem to be used. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
9 lines
374 B
Makefile
9 lines
374 B
Makefile
SONIC_YANG_MODELS_PY3 = sonic_yang_models-1.0-py3-none-any.whl
|
|
$(SONIC_YANG_MODELS_PY3)_SRC_PATH = $(SRC_PATH)/sonic-yang-models
|
|
$(SONIC_YANG_MODELS_PY3)_PYTHON_VERSION = 3
|
|
$(SONIC_YANG_MODELS_PY3)_DEBS_DEPENDS = $(LIBYANG) $(LIBYANG_CPP) \
|
|
$(LIBYANG_PY3)
|
|
|
|
SONIC_PYTHON_WHEELS += $(SONIC_YANG_MODELS_PY3)
|
|
export SONIC_YANG_MODELS_PY3
|