chainsyncer/setup.py

33 lines
592 B
Python
Raw Normal View History

from setuptools import setup
import configparser
import os
2021-04-13 15:28:52 +02:00
requirements = []
f = open('requirements.txt', 'r')
while True:
l = f.readline()
if l == '':
break
requirements.append(l.rstrip())
f.close()
2021-04-13 15:28:52 +02:00
sql_requirements = []
f = open('sql_requirements.txt', 'r')
while True:
l = f.readline()
if l == '':
break
sql_requirements.append(l.rstrip())
f.close()
setup(
install_requires=requirements,
2021-04-13 15:28:52 +02:00
extras_require={
'sql': sql_requirements,
2022-04-24 23:20:41 +02:00
'rocksdb': ['shep[rocksdb]~=0.2.2'],
'redis': ['shep[redis]~=0.2.2'],
2021-04-13 15:28:52 +02:00
}
)