OSDN Git Service

add install_requires
authorChengcheng Zhang <943420582@qq.com>
Wed, 27 Mar 2019 03:20:04 +0000 (11:20 +0800)
committerChengcheng Zhang <943420582@qq.com>
Wed, 27 Mar 2019 03:20:04 +0000 (11:20 +0800)
README.md
pybtm/__init__.py
setup.py

index 1f3a7cf..d364943 100644 (file)
--- a/README.md
+++ b/README.md
@@ -31,14 +31,19 @@ get_entropy() create 128 bits entropy.
 
 ### 2.2 Create mnemonics
 
-get_mnemonic create 12 new mnemonics, if no paramater is specified, it will return 12 new random mnemonics.
+get_mnemonic create 12 new mnemonics.
+
+```python
+>>> key.get_mnemonic('089fe9bf0cac76760bc4b131d938669e')
+'ancient young hurt bone shuffle deposit congress normal crack six boost despair'
+```
+
+If no paramater is specified, it will return 12 new random mnemonics.
 
 ```python
 >>> from pybtm import key
 >>> key.get_mnemonic()
 'nothing gate perfect glide wink lizard journey negative load quote wrong reason'
->>> key.get_mnemonic('089fe9bf0cac76760bc4b131d938669e')
-'ancient young hurt bone shuffle deposit congress normal crack six boost despair'
 ```
 
 ### 2.3 Create seed
index 4050c0f..f588008 100644 (file)
@@ -1,2 +1,2 @@
 name = "pybtm"
-version = "0.0.14"
\ No newline at end of file
+version = "0.0.15"
\ No newline at end of file
index b13870c..b3aeb5f 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -5,16 +5,21 @@ with open("README.md", "r") as fh:
 
 setuptools.setup(
     name="pybtm",
-    version="0.0.14",
+    version="0.0.15",
     author="zcc0721",
     author_email="zcc0721@foxmail.com",
     description="Python3 implementation of the Bytom protocol.",
     long_description=long_description,
     long_description_content_type="text/markdown",
     url="https://github.com/Bytom/pybtm",
-    packages=[
-        "ed25519",
-        "pybase64"
+    packages=setuptools.find_packages(),
+    install_requires=[
+        "ed25519>=1.4",
+        "pbkdf2>=1.3",
+        "pybase64>=0.5.0",
+        "qrcode>=6.1",
+        "sha3>=0.2.1",
+        "six>=1.12.0"
     ],
     classifiers=[
         "Programming Language :: Python :: 3",