VOL-1460 Migrated openonu to voltha-protos
Change-Id: If0115ac617ff4bb8eaf60eaf550f1fffb75f8932
diff --git a/python/Makefile b/python/Makefile
index aab12bb..03b1684 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -78,6 +78,8 @@
ifdef LOCAL_PYVOLTHA
mkdir -p pyvoltha/dist
cp ../../pyvoltha/dist/*.tar.gz pyvoltha/dist/
+ mkdir -p voltha-protos/dist
+ cp ../../voltha-protos/dist/*.tar.gz voltha-protos/dist/
docker build $(DOCKER_BUILD_ARGS) -t ${REGISTRY}${REPOSITORY}voltha-openonu-adapter-base:${TAG} -f docker/Dockerfile.base_local .
else
docker build $(DOCKER_BUILD_ARGS) -t ${REGISTRY}${REPOSITORY}voltha-openonu-adapter-base:${TAG} -f docker/Dockerfile.base .
@@ -107,6 +109,7 @@
clean:
rm -rf pyvoltha
+ rm -rf voltha-protos
find . -name '*.pyc' | xargs rm -f
distclean: clean
@@ -134,8 +137,10 @@
ifdef LOCAL_PYVOLTHA
mkdir -p pyvoltha/dist
cp ../../pyvoltha/dist/*.tar.gz pyvoltha/dist/
+ mkdir -p voltha-protos/dist
+ cp ../../voltha-protos/dist/*.tar.gz voltha-protos/dist/
@ . ${VENVDIR}/bin/activate && \
- pip install pyvoltha/dist/*.tar.gz
+ pip install pyvoltha/dist/*.tar.gz && \
+ pip install voltha-protos/dist/*.tar.gz
endif
-
# end file