Skip to content
Closed
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
8 changes: 4 additions & 4 deletions bip32/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from .bip32 import BIP32, PrivateDerivationError, InvalidInputError
from .utils import BIP32DerivationError, HARDENED_INDEX

__version__ = "3.4"
from .__version__ import __version__
from .bip32 import BIP32, InvalidInputError, PrivateDerivationError
from .utils import HARDENED_INDEX, BIP32DerivationError

__all__ = [
"BIP32",
"BIP32DerivationError",
"PrivateDerivationError",
"InvalidInputError",
"HARDENED_INDEX",
"__version__",
]
1 change: 1 addition & 0 deletions bip32/__version__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "3.4"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
coincurve>=15.0,<19
coincurve>=15.0,<21
base58~=2.0
34 changes: 19 additions & 15 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
from setuptools import setup
import bip32
import io

from setuptools import setup

with io.open("README.md", encoding="utf-8") as f:
long_description = f.read()

with io.open("requirements.txt", encoding="utf-8") as f:
requirements = [r for r in f.read().split('\n') if len(r)]
requirements = [r for r in f.read().split("\n") if len(r)]

with io.open("bip32/__version__.py", encoding="utf-8") as f:
exec(f.read())

setup(name="bip32",
version=bip32.__version__,
description="Minimalistic implementation of the BIP32 key derivation scheme",
long_description=long_description,
long_description_content_type="text/markdown",
url="http://github.com/darosior/python-bip32",
author="Antoine Poinsot",
author_email="darosior@protonmail.com",
license="MIT",
packages=["bip32"],
keywords=["bitcoin", "bip32", "hdwallet"],
install_requires=requirements)
setup(
name="bip32",
version=__version__,
description="Minimalistic implementation of the BIP32 key derivation scheme",
long_description=long_description,
long_description_content_type="text/markdown",
url="http://github.com/darosior/python-bip32",
author="Antoine Poinsot",
author_email="darosior@protonmail.com",
license="MIT",
packages=["bip32"],
keywords=["bitcoin", "bip32", "hdwallet"],
install_requires=requirements,
)