trezor / python-shamir-mnemonic

MIT License
165 stars 59 forks source link

Make the package friendlier as a dependency #47

Closed matejcik closed 1 month ago

matejcik commented 1 month ago

This PR makes the whole click dependency tree optional, and moves dependencies of generate_vectors.py into dev section.

That way, the package has zero dependencies if you are on Python 3.7 and up (we still keep py3.6 compatibility because it doesn't cost anything, but dataclasses needs to be installed from pypi for that case), making it better suited as a dependency of other projects.