erc20-transfer-authorization

Simple approval escrow for ERC20 spending
Info | Log | Files | Refs

setup.py (479B)


      1 from setuptools import setup
      2 import configparser
      3 
      4 
      5 requirements = []
      6 f = open('requirements.txt', 'r')
      7 while True:
      8     l = f.readline()
      9     if l == '':
     10         break
     11     requirements.append(l.rstrip())
     12 f.close()
     13 
     14 test_requirements = []
     15 f = open('test_requirements.txt', 'r')
     16 while True:
     17     l = f.readline()
     18     if l == '':
     19         break
     20     test_requirements.append(l.rstrip())
     21 f.close()
     22 
     23 setup(
     24     install_requires=requirements,
     25     tests_require=test_requirements,
     26         )