|
3 | 3 | import glob
|
4 | 4 | import fnmatch
|
5 | 5 |
|
| 6 | + |
| 7 | +# |
| 8 | +# All platforms |
| 9 | +# |
| 10 | +HERE = os.path.dirname( os.path.abspath( __file__ )) |
| 11 | + |
| 12 | +install_requires = open( os.path.join( HERE, "requirements.txt" )).readlines() |
| 13 | +tests_require = open( os.path.join( HERE, "requirements-tests.txt" )).readlines() |
| 14 | +extras_require = { |
| 15 | + option: open( os.path.join( HERE, f"requirements-{option}.txt" )).readlines() |
| 16 | + for option in [ |
| 17 | + 'gui', # slip39[gui]: Support PySimpleGUI/tkinter Graphical UI App |
| 18 | + 'dev', # slip39[dev]: All modules to support development |
| 19 | + 'serial', # slip39[serial]: Support serial I/O of generated wallet data |
| 20 | + 'wallet', # slip39[wallet]: Paper Wallet and BIP-38/Ethereum wallet encryption |
| 21 | + ] |
| 22 | +} |
| 23 | + |
6 | 24 | Executable = None
|
7 | 25 | if sys.platform == 'win32':
|
8 | 26 | # We use cx_Freeze for executable/installer packaging on Windows, only, for now.
|
|
60 | 78 | )
|
61 | 79 |
|
62 | 80 | build_exe_options = dict(
|
63 |
| - packages = [], |
| 81 | + packages = [ |
| 82 | + 'eth_account', 'Crypto', 'hdwallet', 'shamir_mnemonic', 'cytoolz', 'eth_hash', |
| 83 | + ], |
64 | 84 | excludes = [],
|
65 | 85 | include_msvcr = True,
|
66 | 86 | )
|
|
115 | 135 | )
|
116 | 136 | '''
|
117 | 137 |
|
118 |
| - |
119 |
| -# |
120 |
| -# All platforms |
121 |
| -# |
122 |
| -HERE = os.path.dirname( os.path.abspath( __file__ )) |
123 |
| - |
124 | 138 | # Must work if setup.py is run in the source distribution context, or from
|
125 | 139 | # within the packaged distribution directory.
|
126 | 140 | __version__ = None
|
|
140 | 154 | 'console_scripts': console_scripts,
|
141 | 155 | }
|
142 | 156 |
|
143 |
| -install_requires = open( os.path.join( HERE, "requirements.txt" )).readlines() |
144 |
| -tests_require = open( os.path.join( HERE, "requirements-tests.txt" )).readlines() |
145 |
| -extras_require = { |
146 |
| - option: open( os.path.join( HERE, f"requirements-{option}.txt" )).readlines() |
147 |
| - for option in [ |
148 |
| - 'gui', # slip39[gui]: Support PySimpleGUI/tkinter Graphical UI App |
149 |
| - 'dev', # slip39[dev]: All modules to support development |
150 |
| - 'serial', # slip39[serial]: Support serial I/O of generated wallet data |
151 |
| - 'wallet', # slip39[wallet]: Paper Wallet and BIP-38/Ethereum wallet encryption |
152 |
| - ] |
153 |
| -} |
154 |
| - |
155 | 157 | package_dir = {
|
156 | 158 | "slip39": "./slip39",
|
157 | 159 | "slip39.layout": "./slip39/layout",
|
|
0 commit comments