File tree Expand file tree Collapse file tree 4 files changed +39
-3
lines changed Expand file tree Collapse file tree 4 files changed +39
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Python Bindings for Mixin
2
2
3
+ # Dependencies
4
+
5
+ clang & go 1.6 & cmake
6
+
7
+
8
+ # Build
9
+
10
+ ```
11
+ git clone https://github.com/learnforpractice/mixin-python --recursive
12
+ cd mixin-python
13
+ python3 -m pip install -r requirements.txt
14
+ ```
15
+
16
+ Linux
17
+
18
+ ```
19
+ ./build_linux.sh
20
+ ```
21
+
22
+ macOS X
23
+
24
+ ```
25
+ ./build_mac.sh
26
+ ```
27
+
3
28
``` python
4
29
from mixin.mixin_api import MixinApi
5
30
api = MixinApi(' http://mixin-node0.exinpool.com:8239' )
Original file line number Diff line number Diff line change 1
- CC=clang CXX=clang++ python3.7 setup.py sdist bdist_wheel
1
+ CC=clang CXX=clang++ python3 setup.py sdist bdist_wheel
Original file line number Diff line number Diff line change 1
1
# rm src/mixin/libmixin.a
2
- CC=clang CXX=clang++ python3.7 setup.py sdist bdist_wheel --plat-name macosx-10.9-x86_64
2
+ CC=clang CXX=clang++ python3 setup.py sdist bdist_wheel --plat-name macosx-10.9-x86_64
Original file line number Diff line number Diff line change 29
29
package_data = {'mixin' : []},
30
30
data_files = data_files ,
31
31
scripts = [],
32
- install_requires = [],
32
+ install_requires = [
33
+ "cryptography==2.4.2" ,
34
+ "pycparser==2.19" ,
35
+ "pycryptodome==3.7.2" ,
36
+ "PyJWT==1.7.1" ,
37
+ "python-dateutil==2.7.5" ,
38
+ "PyYAML==3.13" ,
39
+ "requests==2.21.0" ,
40
+ "websocket-client==0.54.0" ,
41
+ "websockets" ,
42
+ "httpx"
43
+ ],
33
44
tests_require = ['pytest' ],
34
45
setup_requires = setup_requires ,
35
46
include_package_data = True
You can’t perform that action at this time.
0 commit comments