2020-12-21 23:00:45 +01:00
|
|
|
from setuptools import setup
|
|
|
|
|
2021-03-24 07:09:14 +01:00
|
|
|
requirements = []
|
|
|
|
f = open('requirements.txt', 'r')
|
|
|
|
while True:
|
|
|
|
l = f.readline()
|
|
|
|
if l == '':
|
|
|
|
break
|
|
|
|
requirements.append(l.rstrip())
|
|
|
|
f.close()
|
|
|
|
|
|
|
|
test_requirements = []
|
|
|
|
f = open('test_requirements.txt', 'r')
|
|
|
|
while True:
|
|
|
|
l = f.readline()
|
|
|
|
if l == '':
|
|
|
|
break
|
|
|
|
test_requirements.append(l.rstrip())
|
|
|
|
f.close()
|
|
|
|
|
|
|
|
|
2020-12-21 23:00:45 +01:00
|
|
|
setup(
|
2021-03-24 07:09:14 +01:00
|
|
|
install_requires=requirements,
|
|
|
|
tests_require=test_requirements,
|
2021-10-24 15:35:02 +02:00
|
|
|
extras_require={
|
|
|
|
'dev': test_requirements,
|
|
|
|
},
|
2020-12-21 23:00:45 +01:00
|
|
|
)
|