File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1010
1111install_requires = open ( os .path .join ( HERE , "requirements.txt" )).readlines ()
1212tests_require = open ( os .path .join ( HERE , "requirements-tests.txt" )).readlines ()
13+ options_require = [
14+ 'gui' , # slip39[gui]: Support PySimpleGUI/tkinter Graphical UI App
15+ 'serial' , # slip39[serial]: Support serial I/O of generated wallet data
16+ 'wallet' , # slip39[wallet]: Paper Wallet and BIP-38/Ethereum wallet encryption
17+ # 'invoice', # slip39[invoice]: Generation of invoices, and associated Smart Contracts
18+ ]
1319extras_require = {
1420 option : list (
1521 # Remove whitespace, elide blank lines and comments
1622 '' .join ( r .split () )
1723 for r in open ( os .path .join ( HERE , f"requirements-{ option } .txt" )).readlines ()
1824 if r .strip () and not r .strip ().startswith ( '#' )
1925 )
20- for option in [
21- 'gui' , # slip39[gui]: Support PySimpleGUI/tkinter Graphical UI App
22- 'serial' , # slip39[serial]: Support serial I/O of generated wallet data
23- 'wallet' , # slip39[wallet]: Paper Wallet and BIP-38/Ethereum wallet encryption
24- 'invoice' , # slip39[invoice]: Generation of invoices, and associated Smart Contracts
25- ]
26+ for option in options_require
2627}
2728# Make python-slip39[all] install all extra (non-tests) requirements, excluding duplicates
2829extras_require ['all' ] = list ( set ( sum ( extras_require .values (), [] )))
Original file line number Diff line number Diff line change 1- __version_info__ = ( 11 , 1 , 2 )
1+ __version_info__ = ( 11 , 2 , 0 )
22__version__ = '.' .join ( map ( str , __version_info__ ))
You can’t perform that action at this time.
0 commit comments