Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
tests:
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]
python-version: [3.9, '3.10', 3.11, 3.12, 3.13, 3.14]
os:
- ubuntu-latest
- macos-13 # (non-M1)
Expand All @@ -24,17 +24,10 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install pip and setuptools
run: |
python -m pip install --upgrade pip
pip install setuptools
- name: On MacOS, install coincurve's dependencies and install it from wheels # FIXME: installing from source fails for some reason.
if: matrix.os == 'macos-latest' || matrix.os == 'macos-13'
run: |
brew install autoconf automake libffi libtool pkg-config python
pip install -r requirements.txt
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install python-bip32 from source
run: python setup.py install
run: pip install .
- name: Test with pytest
run: |
pip install -r tests/requirements.txt
Expand Down Expand Up @@ -62,7 +55,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
Expand All @@ -72,4 +65,4 @@ jobs:
pip install setuptools
pip install -r tests/requirements.txt
pip install -I coincurve==${{ matrix.coincurve-version }}
python setup.py install
pip install .
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# python-bip32

A basic implementation of [BIP-0032](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki).
A minimalistic implementation of [BIP 32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki).

## Usage

Expand Down
2 changes: 0 additions & 2 deletions bip32/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from .bip32 import BIP32, PrivateDerivationError, InvalidInputError
from .utils import BIP32DerivationError, HARDENED_INDEX

__version__ = "4.0"

__all__ = [
"BIP32",
"BIP32DerivationError",
Expand Down
34 changes: 34 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[build-system]
requires = ["setuptools>=77.0.3"] # Because of the license keys. See https://setuptools.pypa.io/en/stable/history.html#v77-0-3
build-backend = "setuptools.build_meta"

[project]
name = "bip32"
version = "4.0.0"
dependencies = [
"coincurve>=15.0,<21",
]
requires-python = ">=3.8"
authors = [
{name = "Antoine Poinsot", email = "[email protected]"},
]
maintainers = [
{name = "Antoine Poinsot", email = "[email protected]"},
]
description = "Minimalistic implementation of BIP32 (Bitcoin HD wallets)"
readme = "README.md"
license = "BSD-3-Clause"
license-files = ["LICENCE"]
keywords = ["bitcoin", "key derivation", "HD wallet"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Topic :: Security :: Cryptography",
]

[project.urls]
Homepage = "https://github.com/darosior/python-bip32"
Repository = "https://github.com/darosior/python-bip32"
Issues = "https://github.com/darosior/python-bip32/issues"
"Bug Tracker" = "https://github.com/darosior/python-bip32/issues"
Changelog = "https://github.com/darosior/python-bip32/tree/master/CHANGELOG.md"
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

44 changes: 0 additions & 44 deletions setup.py

This file was deleted.

Loading