Migrate to pyproject config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Luke Murphy
2020-07-07 15:31:26 +02:00
parent 53ce07f1c4
commit db5f71d240
11 changed files with 95 additions and 152 deletions

View File

@ -1,9 +1,9 @@
"""hypercore-crypto module."""
from hypercore_crypto.crypto import ( # noqa
from hypercore_crypto.crypto import (
data,
discovery_key,
key_pair,
key_pair, # noqa
leaf,
parent,
random_bytes,
@ -11,14 +11,3 @@ from hypercore_crypto.crypto import ( # noqa
tree,
verify,
)
try:
import pkg_resources
except ImportError:
pass
try:
__version__ = pkg_resources.get_distribution("hypercore_crypto").version
except Exception:
__version__ = "unknown"