mirror of
git://holbrook.no/eth-monitor.git
synced 2024-11-21 20:06:46 +01:00
29 lines
494 B
Python
29 lines
494 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()
|
|
|
|
test_requirements = []
|
|
f = open('test_requirements.txt', 'r')
|
|
while True:
|
|
l = f.readline()
|
|
if l == '':
|
|
break
|
|
test_requirements.append(l.rstrip())
|
|
f.close()
|
|
|
|
|
|
setup(
|
|
install_requires=requirements,
|
|
tests_require=test_requirements,
|
|
)
|