2021-10-09 18:50:43 +02:00
|
|
|
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()
|
|
|
|
|
2021-10-18 10:47:48 +02:00
|
|
|
eth_requirements = []
|
|
|
|
f = open('eth_requirements.txt', 'r')
|
|
|
|
while True:
|
|
|
|
l = f.readline()
|
|
|
|
if l == '':
|
|
|
|
break
|
|
|
|
eth_requirements.append(l.rstrip())
|
|
|
|
f.close()
|
|
|
|
|
|
|
|
|
2021-10-09 18:50:43 +02:00
|
|
|
setup(
|
|
|
|
install_requires=requirements,
|
2021-10-18 10:47:48 +02:00
|
|
|
extras_require={
|
|
|
|
'eth': eth_requirements,
|
|
|
|
},
|
2021-12-05 08:12:36 +01:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
|
|
|
'cic-cli=cic.runnable.cic_cmd:main',
|
|
|
|
],
|
|
|
|
},
|
2021-10-09 18:50:43 +02:00
|
|
|
)
|