diff --git a/python/requirements.txt b/python/requirements.txt index 209fa06..19718a3 100644 --- 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 index 489eec9..d6a41fd 100644 --- 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 index bd1da75..bc71993 100644 --- 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, )