Skip to content

Commit dcd9fdc

Browse files
author
Taarini Sarath Chander
committed
Add dependencies
1 parent 3e52d02 commit dcd9fdc

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

connector/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ PYTHON = python3
3232
TESTCMD = cd tests; runAll
3333
DISTDIR = $(BUILDDIR)/dist
3434

35+
DEPENDENCIES = "paramiko >= 1.15.1" "lxml >= 3.3.0, <5.0.0" \
36+
"ncclient >= 0.6.6" grpcio protobuf
37+
38+
3539
.PHONY: clean package distribute distribute_staging distribute_staging_external\
3640
develop undevelop populate_dist_dir help docs distribute_docs test
3741

@@ -85,6 +89,7 @@ develop:
8589
@echo ""
8690

8791
@pip3 uninstall -y yang.connector || true
92+
@pip install $(DEPENDENCIES)
8893
@pip install -e . --no-deps
8994

9095
@echo "Completed building and installing: $@"

ncdiff/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ PYTHON = python3
3232
TESTCMD = cd tests; runAll
3333
DISTDIR = $(BUILDDIR)/dist
3434

35+
DEPENDENCIES = "pyang >= 1.7.3" "ncclient >= 0.6.3" \
36+
"requests >= 2.18.4" "xmljson >= 0.1.9" \
37+
"yang.connector >= 3.0.0"
38+
3539
.PHONY: clean package distribute distribute_staging distribute_staging_external\
3640
develop undevelop populate_dist_dir help docs distribute_docs test
3741

@@ -84,6 +88,7 @@ develop:
8488
@echo ""
8589

8690
@pip3 uninstall -y yang.ncdiff || true
91+
@pip install $(DEPENDENCIES)
8792
@pip install -e . --no-deps
8893

8994
@echo "Completed building and installing: $@"

0 commit comments

Comments
 (0)