Skip to content

Commit bc3c14a

Browse files
authored
added reference to pynacl in nc-py-api (#37)
1 parent 4406b1d commit bc3c14a

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

nc_py_api/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
""" Version of Nc_Py_Api """
22

3-
__version__ = "0.0.8"
3+
__version__ = "0.0.9"

nc_py_api/db_misc.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
from datetime import datetime
22

3+
try:
4+
from nacl import bindings # pylint: disable=unused-import
5+
except ImportError:
6+
bindings = None
7+
38
from .config import CONFIG
49

510

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ packages = find:
3131
install_requires =
3232
pg8000
3333
pymysql
34+
pynacl
35+
cryptography
3436

3537
[options.extras_require]
3638
dev =

0 commit comments

Comments
 (0)