Use requirements file for deps

This commit is contained in:
nolash 2021-03-24 07:09:14 +01:00
parent e698f51c84
commit 2abecb287e
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 25 additions and 9 deletions

View File

@ -1 +1,3 @@
chainlib==0.0.1a27
confini~=0.3.6rc3
crypto-dev-signer~=0.4.14a5
chainlib~=0.0.1a28

View File

@ -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 =

View File

@ -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,
)