py-libp2p/README.md

24 lines
549 B
Markdown
Raw Normal View History

2018-10-21 01:39:59 +08:00
# py-libp2p
2018-11-11 23:53:49 +08:00
<h1 align="center">
<img width="250" align="center" src="https://github.com/zixuanzh/py-libp2p/blob/master/assets/py-libp2p-logo.png?raw=true" alt="py-libp2p hex logo" />
</h1>
2018-11-08 02:06:29 +08:00
2018-10-21 01:39:59 +08:00
## Development
py-libp2p requires Python 3.6 and the best way to guarantee a clean Python 3.6 environment is with [`virtualenv`](https://virtualenv.pypa.io/en/stable/)
```sh
virtualenv -p python3.6 venv
. venv/bin/activate
pip install -r requirements.txt
```
## Testing
After installing our requirements (see above), you can:
```sh
cd tests
pytest
2018-11-11 23:51:36 +08:00
```