setup.py (613B)
1 from setuptools import setup 2 3 requirements = [] 4 f = open('requirements.txt', 'r') 5 while True: 6 l = f.readline() 7 if l == '': 8 break 9 requirements.append(l.rstrip()) 10 f.close() 11 12 test_requirements = [] 13 f = open('test_requirements.txt', 'r') 14 while True: 15 l = f.readline() 16 if l == '': 17 break 18 test_requirements.append(l.rstrip()) 19 f.close() 20 21 22 setup( 23 package_data={ 24 '': [ 25 'data/EIP165.json', 26 ], 27 }, 28 include_package_data=True, 29 install_requires=requirements, 30 tests_require=test_requirements, 31 )