Skip to content

Commit caa1ef9

Browse files
committed
Merge PR #49
2 parents 43a0352 + 82554d2 commit caa1ef9

File tree

6 files changed

+41
-61
lines changed

6 files changed

+41
-61
lines changed

.github/workflows/python-package.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
tests:
1111
strategy:
1212
matrix:
13-
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]
13+
python-version: [3.9, '3.10', 3.11, 3.12, 3.13, 3.14]
1414
os:
1515
- ubuntu-latest
1616
- macos-13 # (non-M1)
@@ -24,17 +24,10 @@ jobs:
2424
uses: actions/setup-python@v2
2525
with:
2626
python-version: ${{ matrix.python-version }}
27-
- name: Install pip and setuptools
28-
run: |
29-
python -m pip install --upgrade pip
30-
pip install setuptools
31-
- name: On MacOS, install coincurve's dependencies and install it from wheels # FIXME: installing from source fails for some reason.
32-
if: matrix.os == 'macos-latest' || matrix.os == 'macos-13'
33-
run: |
34-
brew install autoconf automake libffi libtool pkg-config python
35-
pip install -r requirements.txt
27+
- name: Upgrade pip
28+
run: python -m pip install --upgrade pip
3629
- name: Install python-bip32 from source
37-
run: python setup.py install
30+
run: pip install .
3831
- name: Test with pytest
3932
run: |
4033
pip install -r tests/requirements.txt
@@ -62,7 +55,7 @@ jobs:
6255
runs-on: ubuntu-latest
6356
steps:
6457
- uses: actions/checkout@v2
65-
- name: Set up Python 3.10
58+
- name: Set up Python 3.12
6659
uses: actions/setup-python@v2
6760
with:
6861
python-version: 3.12
@@ -72,4 +65,4 @@ jobs:
7265
pip install setuptools
7366
pip install -r tests/requirements.txt
7467
pip install -I coincurve==${{ matrix.coincurve-version }}
75-
python setup.py install
68+
pip install .

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# python-bip32
22

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

55
## Usage
66

bip32/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
from .bip32 import BIP32, PrivateDerivationError, InvalidInputError
22
from .utils import BIP32DerivationError, HARDENED_INDEX
33

4-
__version__ = "4.0"
5-
64
__all__ = [
75
"BIP32",
86
"BIP32DerivationError",

pyproject.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[build-system]
2+
requires = ["setuptools>=77.0.3"] # Because of the license keys. See https://setuptools.pypa.io/en/stable/history.html#v77-0-3
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "bip32"
7+
version = "4.0.0"
8+
dependencies = [
9+
"coincurve>=15.0,<21",
10+
]
11+
requires-python = ">=3.8"
12+
authors = [
13+
{name = "Antoine Poinsot", email = "[email protected]"},
14+
]
15+
maintainers = [
16+
{name = "Antoine Poinsot", email = "[email protected]"},
17+
]
18+
description = "Minimalistic implementation of BIP32 (Bitcoin HD wallets)"
19+
readme = "README.md"
20+
license = "BSD-3-Clause"
21+
license-files = ["LICENCE"]
22+
keywords = ["bitcoin", "key derivation", "HD wallet"]
23+
classifiers = [
24+
"Programming Language :: Python :: 3",
25+
"Operating System :: OS Independent",
26+
"Topic :: Security :: Cryptography",
27+
]
28+
29+
[project.urls]
30+
Homepage = "https://github.com/darosior/python-bip32"
31+
Repository = "https://github.com/darosior/python-bip32"
32+
Issues = "https://github.com/darosior/python-bip32/issues"
33+
"Bug Tracker" = "https://github.com/darosior/python-bip32/issues"
34+
Changelog = "https://github.com/darosior/python-bip32/tree/master/CHANGELOG.md"

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

setup.py

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)