from setuptools import setup import os 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() f = open('README.md', 'r') description = f.read() f.close() setup( name='celo-chainlib-eth', description='block adapter hook enabling chainlib-eth for use with celo.', version='0.1.0', packages=[ 'chainlib_eth_celo', ], install_requires=requirements, tests_require=test_requirements, long_description=description, long_description_content_type='text/markdown', )