chainqueue

Blockchain transaction queue control
Info | Log | Files | Refs | LICENSE

setup.py (504B)


      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 postgres_requirements = ['psycopg2==2.8.6'] + requirements
     16 sqlite_requirements = [] + requirements
     17 
     18 setup(
     19         install_requires=requirements,
     20         extras_require={
     21             'postgres': postgres_requirements,
     22             'sqlite': sqlite_requirements,
     23             }
     24     )