Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 1.05 KB

README.md

File metadata and controls

50 lines (39 loc) · 1.05 KB

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

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

Build the package

# Install dependencies
pip install --requirement requirements.txt

# Generate the bindings
bash generate.sh

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

Run tox to build and test locally

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

# build bindings glue code (located at ./src/bdkpython/bdk.py)
source ./generate.sh

# build and test
tox -vv

Install locally

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

Temporary line: needed to run CI