bdk-ffi/README.md
Sam Korn 4396ebaa72
fix tox build and tests
Signed-off-by: Sam Korn <korn94sam@gmail.com>
2022-08-04 12:13:05 -06:00

961 B

bdk-python

The Python language bindings for the bitcoindevkit.

See the package on PyPI.

Install from PyPI

Install the latest release using

pip install bdkpython

Run the tests

pip3 install --requirement requirements.txt
bash ./generate.sh
python3 setup.py --verbose bdist_wheel
pip3 install ./dist/bdkpython-<yourversion>-py3-none-any.whl
python -m unittest --verbose tests/test_bdk.py

Build the package

# Install dependecies
pip install --requirement requirements.txt

# Generate the bindings first
bash generate.sh

# Build the wheel
python3 setup.py --verbose bdist_wheel

Run tox to build and test

# install dev requirements
pip install --requirement requirements-dev.txt

# build and test
tox

Install locally

pip install ./dist/bdkpython-<yourversion>-py3-none-any.whl