From e6507d86179efe751de3b6d2bbed91c6dc702dec Mon Sep 17 00:00:00 2001 From: Dave Huseby Date: Thu, 14 Mar 2024 12:53:58 -0600 Subject: [PATCH 1/2] Update README.md adding a few notes and myself as maintainer --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 69242014..c2cbcbd2 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ This project is graciously sponsored by the Ethereum Foundation through [Wave 5 ## Maintainers -Currently maintained by [@pacrob](https://github.com/pacrob), looking for assistance! +Currently maintained by [@pacrob](https://github.com/pacrob) and [@dhuseby](https://github.com/dhuseby), looking for assistance! The py-libp2p team previously consisted of: @@ -47,6 +47,12 @@ python -m pip install -e .[dev] pre-commit install ``` +Or if you use zsh, you will need to escape the `[` and `]` when running the the `pip install` command; like so: + +```zsh +python -m pip install -e .\[dev\] +``` + We use [pre-commit](https://pre-commit.com/) to maintain consistent code style. Once installed, it will run automatically with every commit. You can also run it manually with `make lint`. If you need to make a commit that skips the `pre-commit` checks, you @@ -54,6 +60,14 @@ can do so with `git commit --no-verify`. Note that tests/test_libp2p/test_libp2p.py contains an end-to-end messaging test between two libp2p hosts, which is the bulk of our proof of concept. +### Dependencies + +On Debian Linux you will need to ensure that you have the [GNU Multiprecision Arithmetic Library](https://gmplib.org/) installed since it is a dependency of the fastecdsa package. You can install it using the following command: + +```sh +sudo apt-get install libgmp-dev +``` + ### Release setup Releases follow the same basic pattern as releases of some tangentially-related projects, From c2b180bf326b416e1071bbe191813ccff651f7ae Mon Sep 17 00:00:00 2001 From: Dave Huseby Date: Thu, 14 Mar 2024 13:22:54 -0600 Subject: [PATCH 2/2] Update README.md Adding note about testing --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c2cbcbd2..29ece8fc 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,10 @@ On Debian Linux you will need to ensure that you have the [GNU Multiprecision Ar sudo apt-get install libgmp-dev ``` +### Testing + +Running `pytest` doesn't work with this project. The correct way to execute tests is to run `make test`. + ### Release setup Releases follow the same basic pattern as releases of some tangentially-related projects,