From 03fe0e7fe0d903b5cdfb17e864bfc697c9bcd8a6 Mon Sep 17 00:00:00 2001 From: Anton von Weltzien Date: Thu, 24 May 2018 21:18:24 +0200 Subject: [PATCH] Add pip setup --- setup.py | 11 +++++++++++ statistics_reader/blockchain_adapter.py | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..9b2612f --- /dev/null +++ b/setup.py @@ -0,0 +1,11 @@ +from setuptools import setup + +setup(name='blockchain_statistics_readout', + version='0.1', + description='Read out statistics from a blockchain', + author='Anton von Weltzien', + license='MIT', + packages=['statistics_reader'], + url='https://github.com/BPChain/blockchain_statistics_readout.git', + install_requires=['websocket-client==0.47.0', 'psutil==5.4.5'], + zip_safe=False) diff --git a/statistics_reader/blockchain_adapter.py b/statistics_reader/blockchain_adapter.py index dfa3ef0..fbc2ace 100644 --- a/statistics_reader/blockchain_adapter.py +++ b/statistics_reader/blockchain_adapter.py @@ -17,3 +17,5 @@ def host_id(self): def new_blocks_and_previous(self) -> Tuple[List[Block], Block]: raise NotImplementedError() + +