From 7a9572e97844567e030dac2cd81d94f17553eb31 Mon Sep 17 00:00:00 2001 From: nolash Date: Wed, 24 Mar 2021 06:54:26 +0100 Subject: [PATCH] Upgrade deps --- python/requirements.txt | 4 ++-- python/setup.py | 21 +++++++++++++++++++++ python/test_requirements.txt | 3 +++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 python/test_requirements.txt diff --git a/python/requirements.txt b/python/requirements.txt index a136619..07be98b 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1,2 +1,2 @@ -chainlib~=0.0.1a7 -crypto-dev-signer~=0.4.13rc2 +chainlib~=0.0.1a28 +crypto-dev-signer~=0.4.14a5 diff --git a/python/setup.py b/python/setup.py index 16759ec..2b8d334 100644 --- a/python/setup.py +++ b/python/setup.py @@ -1,5 +1,24 @@ from setuptools import setup +requirements = [] +f = open('requirements.txt', 'r') +while True: + l = f.readline() + if l == '': + break + requirements.append(l.rstrip()) +f.close() + +test_requirements = [] +f = open('test_requirements.txt', 'r') +while True: + l = f.readline() + if l == '': + break + test_requirements.append(l.rstrip()) +f.close() + + setup( package_data={ '': [ @@ -7,4 +26,6 @@ setup( ], }, include_package_data=True, + install_requires=requirements, + tests_require=test_requirements, ) diff --git a/python/test_requirements.txt b/python/test_requirements.txt new file mode 100644 index 0000000..56f8cb3 --- /dev/null +++ b/python/test_requirements.txt @@ -0,0 +1,3 @@ +eth_tester==0.5.0b3 +py-evm==0.3.0a20 +giftable-erc20-token==0.0.8a1