From fa1f8fc1893d1d9decadee9dee72d74418e87466 Mon Sep 17 00:00:00 2001 From: Andrew Kozlik Date: Tue, 3 Sep 2024 15:33:06 +0200 Subject: [PATCH] Support Python 3.8 --- CHANGELOG.md | 4 ++++ pyproject.toml | 9 ++++++--- slip10/__init__.py | 4 +++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58710fc..abbcd8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.1 + +- Support Python 3.8 + ## 1.0.0 - First release forked from Antoine Poinsot's python-bip32. diff --git a/pyproject.toml b/pyproject.toml index 9b5c4dd..37d9ca3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,19 +1,22 @@ [tool.poetry] name = "slip10" -version = "1.0.0" +version = "1.0.1" description = "A reference implementation of the SLIP-0010 specification, which generalizes the BIP-0032 derivation scheme for private and public key pairs in hierarchical deterministic wallets for the curves secp256k1, NIST P-256, ed25519 and curve25519." -authors = ["Andrew R. Kozlik "] +authors = ["Antoine Poinsot ", "Andrew R. Kozlik "] +maintainers = ["Andrew R. Kozlik "] license = "MIT" readme = [ "README.md", "CHANGELOG.md", ] +repository = "https://github.com/trezor/python-slip10" +keywords = ["bitcoin", "slip10", "hdwallet"] [tool.poetry.dependencies] cryptography = "*" ecdsa = "*" base58 = "^2" -python = ">=3.9,<4.0" +python = ">=3.8,<4.0" [tool.poetry.group.dev.dependencies] pytest = "*" diff --git a/slip10/__init__.py b/slip10/__init__.py index 448a1f9..53343c1 100644 --- a/slip10/__init__.py +++ b/slip10/__init__.py @@ -1,7 +1,9 @@ +import importlib.metadata + from .slip10 import SLIP10, InvalidInputError, PrivateDerivationError from .utils import HARDENED_INDEX, SLIP10DerivationError -__version__ = "1.0.0" +__version__ = importlib.metadata.version(__package__ or __name__) __all__ = [ "SLIP10",