-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jadepy: update setup.py metadata and version handling for release
Bumps the version to 1.0.32 for its upcoming release.
- Loading branch information
1 parent
6b77769
commit 6cabc58
Showing
2 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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='[email protected]', | ||
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' | ||
], | ||
|