eth-address-index

signed metadata declarations for ethereum addresses
Log | Files | Refs

commit 2abecb287ec6c2f8d09d6dd531c97c1254b2203b
parent e698f51c84ef5c5a77dac84d9a5abc2e1e6eb161
Author: nolash <dev@holbrook.no>
Date:   Wed, 24 Mar 2021 07:09:14 +0100

Use requirements file for deps

Diffstat:
Mpython/requirements.txt | 4+++-
Mpython/setup.cfg | 9+--------
Mpython/setup.py | 21+++++++++++++++++++++
3 files changed, 25 insertions(+), 9 deletions(-)

diff --git a/python/requirements.txt b/python/requirements.txt @@ -1 +1,3 @@ -chainlib==0.0.1a27 +confini~=0.3.6rc3 +crypto-dev-signer~=0.4.14a5 +chainlib~=0.0.1a28 diff --git a/python/setup.cfg b/python/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = eth-address-index -version = 0.1.0a13 +version = 0.1.1a2 description = Signed metadata declarations for ethereum addresses author = Louis Holbrook author_email = dev@holbrook.no @@ -28,13 +28,6 @@ packages = eth_address_declarator.runnable eth_token_index eth_token_index.runnable -install_requires = - web3==5.12.2 - crypto-dev-signer~=0.4.13rc4 - chainlib~=0.0.1a20 -tests_require = - eth-tester==0.5.0b2 - py-evm==0.3.0a20 [options.extras_require] testing = diff --git a/python/setup.py b/python/setup.py @@ -1,4 +1,25 @@ 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( + install_requires=requirements, + tests_require=test_requirements, )