-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
93 lines (88 loc) · 2.58 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
88
89
90
91
92
93
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
deps = {
'snailchain': [
],
'fastchain': [
],
'minerva': [
],
# 'vendor': [
# "py-evm>=0.2.0-alpha.14",
# ],
'test': [
"hypothesis==3.44.26",
"pytest~=3.2",
"pytest-asyncio==0.8.0",
"pytest-cov==2.5.1",
"pytest-logging>=2015.11.4",
"pytest-xdist==1.18.1",
"pytest-watch>=4.1.0,<5",
],
'lint': [
"flake8==3.5.0",
"mypy<0.600",
],
'doc': [
#"py-evm>=0.2.0-alpha.14",
"pytest~=3.2",
"Sphinx>=1.5.5,<2.0.0",
"sphinx_rtd_theme>=0.1.9",
"sphinxcontrib-asyncio>=0.2.0",
],
'dev': [
"bumpversion>=0.5.3,<1",
"wheel",
"tox==2.7.0",
],
}
deps['dev'] = (
deps['snailchain'] +
deps['fastchain'] +
deps['test'] +
deps['doc'] +
deps['minerva'] +
deps['dev'] +
deps['lint']
)
# As long as evm, p2p and trinity are managed together in the py-evm
# package, someone running a `pip install py-evm` should expect all
# dependencies for evm, p2p and trinity to get installed.
install_requires = deps['snailchain'] + deps['fastchain'] + deps['minerva']
setup(
name='py-trueconsensus',
# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
version='0.1.0-alpha.1',
description="Python implementation of the Truechain's Hybrid Consensus",
long_description_markdown_filename='README.md',
author='Archit Sharma',
author_email='[email protected]',
url='https://github.com/truechain/py-trueconsensus',
include_package_data=True,
py_modules=['snailchain', 'fastchain', 'minerva'],
install_requires=install_requires,
extras_require=deps,
setup_requires=['setuptools-markdown'],
license='Apache License 2.0',
zip_safe=False,
keywords='truechain blockchain hybrid consensus',
packages=find_packages(exclude=["tests", "tests.*"]),
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache License 2.0',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries',
'Topic :: System :: Networking'
],
# minerva
entry_points={
'console_scripts': ['minerva=minerva:main'],
},
)