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