chainsyncer/setup.py
2021-04-13 15:28:52 +02:00

31 lines
506 B
Python

from setuptools import setup
import configparser
import os
requirements = []
f = open('requirements.txt', 'r')
while True:
l = f.readline()
if l == '':
break
requirements.append(l.rstrip())
f.close()
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,
extras_require={
'sql': sql_requirements,
}
)