Skip to content

Commit

Permalink
make: Setup the PYTHONPATH to include the pyln-spec packages
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cdecker authored and rustyrussell committed Apr 8, 2021
1 parent 0f217d3 commit 1bebdfd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ endif

# (method=thread to support xdist)
PYTEST_OPTS := -v -p no:logging $(PYTEST_OPTS)
PYTHONPATH=$(shell pwd)/contrib/pyln-client:$(shell pwd)/contrib/pyln-testing:$(shell pwd)/contrib/pyln-proto/:$(shell pwd)/external/lnprototest
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

# This is where we add new features as bitcoin adds them.
FEATURES :=
Expand Down
5 changes: 0 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,4 @@ flake8 ~= 3.7.8
# None

# Dependencies from lnprototest
pyln.bolt1==1.0.1.137
pyln.bolt2==1.0.1.137
pyln.bolt4==1.0.1.137
pyln.bolt7==1.0.1.137
coincurve==13.0.0
crc32c

0 comments on commit 1bebdfd

Please sign in to comment.