Skip to content

Commit 821691d

Browse files
docs: add local testing and usage section to readme
1 parent 80dd3e1 commit 821691d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,19 @@
33
The Python language bindings for the [bitcoindevkit](https://github.com/bitcoindevkit).
44

55
See the [package on PyPI](https://pypi.org/project/bdkpython/).
6+
7+
## Local Testing and Usage
8+
9+
1. Start a Python virtual environment
10+
2. Run one of the build script
11+
3. Create the wheel
12+
4. Install the library
13+
5. Run the tests
14+
15+
```sh
16+
source .localpythonenv/bin/activate
17+
bash scripts/generate-macos-arm64.sh
18+
.localpythonenv/bin/python3 setup.py bdist_wheel
19+
.localpythonenv/bin/pip3 install ./dist/bdkpython-<yourversion>.whl --force-reinstall
20+
.localpythonenv/bin/python3 -m unittest --verbose
21+
```

0 commit comments

Comments
 (0)