trezor / python-shamir-mnemonic

MIT License
168 stars 60 forks source link

Make the package friendlier as a dependency #47

Closed matejcik closed 6 months ago

matejcik commented 6 months 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.