contract-registry

Ethereum Smart Contract key-value registry
Info | Log | Files | Refs

setup.py (642B)


      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/*.abi.json',
     26                 'data/*.bin',
     27                 ],
     28             },
     29         include_package_data=True,
     30         install_requires=requirements,
     31         tests_require=test_requirements,
     32         )