Skip to content

Commit

Permalink
jadepy: update setup.py metadata and version handling for release
Browse files Browse the repository at this point in the history
Bumps the version to 1.0.32 for its upcoming release.
  • Loading branch information
jgriffiths committed Oct 9, 2024
1 parent 6b77769 commit 6cabc58
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jadepy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .jade import JadeAPI
from .jade_error import JadeError

__version__ = "0.2.0"
__version__ = "1.0.32"
34 changes: 33 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,40 @@
from setuptools import setup

# Extract the jadepy version
version = open('jadepy/__init__.py').readlines()
version = [v for v in version if '__version__' in v][0].strip()
version = version.split('"')[-2]
assert len(version.split('.')) == 3, f'Invalid parsed version "{version}"'

setup(
name='jadepy',
version='0.2.0',
version=version,
description='Blockstream Jade Client API',
long_description='A Python library for interacting with the Blockstream Jade hardware wallet',
url='https://github.com/Blockstream/Jade',
author='Blockstream',
author_email='inquiries@blockstream.com',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)'
'Programming Language :: Python :: 3',
],
keywords=[
'Blockstream',
'Jade',
'Hardware wallet',
'Bitcoin',
'BTC'
'Liquid',
],
project_urls={
'Documentation': 'https://github.com/Blockstream/Jade/README.md',
'Source': 'https://github.com/Blockstream/Jade',
'Tracker': 'https://github.com/Blockstream/Jade/issues',
},
packages=[
'jadepy'
],
Expand Down

0 comments on commit 6cabc58

Please sign in to comment.