2021-02-08 10:39:42 +01:00
|
|
|
from setuptools import setup
|
|
|
|
import configparser
|
|
|
|
import os
|
|
|
|
|
2021-04-04 14:55:27 +02:00
|
|
|
|
2021-02-08 10:39:42 +01:00
|
|
|
requirements = []
|
|
|
|
f = open('requirements.txt', 'r')
|
|
|
|
while True:
|
|
|
|
l = f.readline()
|
|
|
|
if l == '':
|
|
|
|
break
|
|
|
|
requirements.append(l.rstrip())
|
|
|
|
f.close()
|
|
|
|
|
2021-04-04 14:55:27 +02:00
|
|
|
test_requirements = []
|
|
|
|
f = open('test_requirements.txt', 'r')
|
|
|
|
while True:
|
|
|
|
l = f.readline()
|
|
|
|
if l == '':
|
|
|
|
break
|
|
|
|
test_requirements.append(l.rstrip())
|
|
|
|
f.close()
|
|
|
|
|
|
|
|
|
2021-02-08 10:39:42 +01:00
|
|
|
setup(
|
2021-04-04 14:55:27 +02:00
|
|
|
install_requires=requirements,
|
|
|
|
tests_require=test_requirements,
|
2021-02-08 10:39:42 +01:00
|
|
|
)
|