Skip to content

Commit 403d4b9

Browse files
authored
Merge pull request bitshares#17 from BTS-CM/pycryptodome
pycryptodome & readme updates
2 parents 6182f95 + b19aae1 commit 403d4b9

5 files changed

Lines changed: 32 additions & 9 deletions

File tree

README.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
1-
Python Library for BitShares
2-
========================
1+
# Python Library for BitShares
32

4-
*placeholder*
3+
---
4+
5+
## Documentation
6+
7+
Visit the [pybitshares website](http://docs.pybitshares.com/en/latest/) for in depth documentation on this Python library.
8+
9+
## Installation
10+
11+
### Install with pip:
12+
```
13+
$ sudo apt-get install libffi-dev libssl-dev python-dev python-dev3
14+
$ pip3 install bitshares
15+
```
16+
17+
### Manual installation:
18+
```
19+
$ git clone https://github.com/xeroc/python-bitshares/
20+
$ cd python-bitshares
21+
$ python3 setup.py install --user
22+
```
23+
24+
### Upgrade
25+
```
26+
$ pip3 install --user --upgrade
27+
```

bitsharesbase/memo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
try:
55
from Crypto.Cipher import AES
66
except ImportError:
7-
raise ImportError("Missing dependency: pycrypto")
7+
raise ImportError("Missing dependency: pycryptodome")
88
from .account import PrivateKey, PublicKey
99
import struct
1010

docs/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
graphenelib
22
bitshares
33
autobahn>=0.14
4-
pycrypto==2.6.1
5-
appdirs==1.4.0
4+
pycryptodome==3.4.6
5+
appdirs==1.4.0

requirements-test.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
graphenelib
2-
pycrypto==2.6.1
2+
pycryptodome==3.4.6
33
scrypt==0.7.1
44
Events==0.2.2
55
pyyaml
66
pytest
7-
coverage
7+
coverage

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"appdirs",
4646
"Events",
4747
"scrypt",
48-
"pycrypto", # for AES, installed through graphenelib already
48+
"pycryptodome", # for AES, installed through graphenelib already
4949
],
5050
setup_requires=['pytest-runner'],
5151
tests_require=['pytest'],

0 commit comments

Comments
 (0)