chainsyncer/setup.py

31 lines
506 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,
}
)