Skip to content

Commit 1bebdfd

Browse files
cdeckerrustyrussell
authored andcommitted
make: Setup the PYTHONPATH to include the pyln-spec packages
They are currently not installable due to circular dependencies and stuff, so we just add their source to the path and lnprototest will pick them up from there.
1 parent 0f217d3 commit 1bebdfd

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ endif
8080

8181
# (method=thread to support xdist)
8282
PYTEST_OPTS := -v -p no:logging $(PYTEST_OPTS)
83-
PYTHONPATH=$(shell pwd)/contrib/pyln-client:$(shell pwd)/contrib/pyln-testing:$(shell pwd)/contrib/pyln-proto/:$(shell pwd)/external/lnprototest
83+
PYTHONPATH=$(shell pwd)/contrib/pyln-client:$(shell pwd)/contrib/pyln-testing:$(shell pwd)/contrib/pyln-proto/:$(shell pwd)/external/lnprototest:$(shell pwd)/contrib/pyln-spec/bolt1:$(shell pwd)/contrib/pyln-spec/bolt2:$(shell pwd)/contrib/pyln-spec/bolt4:$(shell pwd)/contrib/pyln-spec/bolt7
8484

8585
# This is where we add new features as bitcoin adds them.
8686
FEATURES :=

requirements.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,4 @@ flake8 ~= 3.7.8
1414
# None
1515

1616
# Dependencies from lnprototest
17-
pyln.bolt1==1.0.1.137
18-
pyln.bolt2==1.0.1.137
19-
pyln.bolt4==1.0.1.137
20-
pyln.bolt7==1.0.1.137
21-
coincurve==13.0.0
2217
crc32c

0 commit comments

Comments
 (0)