eth-monitor

Monitor and cache ethereum transactions with match filters
git clone git://git.defalsify.org/eth-monitor.git
Info | Log | Files | Refs | README | LICENSE

setup.py (852B)


      1 from setuptools import setup
      2 import configparser
      3 import os
      4 
      5 
      6 requirements = []
      7 f = open('requirements.txt', 'r')
      8 while True:
      9     l = f.readline()
     10     if l == '':
     11         break
     12     requirements.append(l.rstrip())
     13 f.close()
     14 
     15 test_requirements = []
     16 f = open('test_requirements.txt', 'r')
     17 while True:
     18     l = f.readline()
     19     if l == '':
     20         break
     21     test_requirements.append(l.rstrip())
     22 f.close()
     23 
     24 f = open('README.md', 'r')
     25 description = f.read()
     26 f.close()
     27 
     28 man_dir = 'man/build'
     29 setup(
     30         install_requires=requirements,
     31         tests_require=test_requirements,
     32         data_files=[("man/man1", [
     33                 os.path.join(man_dir, 'eth-monitor.1'),
     34                 os.path.join(man_dir, 'eth-monitor-sync.1'),
     35             ]
     36              )],
     37         long_description=description,
     38         long_description_content_type='text/markdown',
     39     )