forked from initc3/HoneyBadgerBFT-Python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
87 lines (79 loc) · 2.26 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Most fault tolerant protocols (including RAFT, PBFT, Zyzzyva, Q/U)
don't guarantee good performance when there are Byzantine faults. Even
the so-called "robust" BFT protocols (like UpRight, RBFT, Prime,
Spinning, and Stellar) have various hard-coded timeout parameters, and
can only guarantee performance when the network behaves approximately as
expected - hence they are best suited to well-controlled settings like
corporate data centers.
HoneyBadgerBFT is fault tolerance for the wild wild wide-area-network.
HoneyBadger nodes can even stay hidden behind anonymizing relays like
Tor, and the purely-asynchronous protocol will make progress at whatever
rate the network supports.
"""
from setuptools import setup
install_requires = [
'enum34', # TODO post python3 port: remove
'gevent',
'gmpy2',
'pysocks',
'pycrypto',
'ecdsa',
'zfec>=1.5.0',
'gipc',
'charm-crypto>=0.50',
'coincurve',
]
tests_require = [
'coverage',
'flake8',
'logutils',
'pytest',
'pytest-cov',
'pytest-mock',
'pytest-sugar',
'nose2',
]
dev_require = [
'ipdb',
'ipython',
]
docs_require = [
'Sphinx',
'sphinx-autobuild',
'sphinx_rtd_theme',
]
setup(
name='honeybadgerbft',
version='0.1.0',
description='The Honey Badger of BFT Protocols',
long_description=__doc__,
author="Andrew Miller et al.",
url='https://github.com/amiller/HoneyBadgerBFT',
packages=['honeybadgerbft'],
package_dir={'honeybadgerbft': 'honeybadgerbft'},
include_package_data=True,
install_requires=install_requires,
license='CRAPL',
zip_safe=False,
keywords='distributed systems, cryptography, byzantine fault tolerance',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
],
python_requires='>=3.6',
test_suite='tests',
extras_require={
'test': tests_require,
'dev': dev_require + tests_require + docs_require,
'docs': docs_require,
},
dependency_links=[
'git+https://github.com/JHUISI/charm.git@dev#egg=0.50',
],
)