36 lines
662 B
Python
36 lines
662 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()
|
|
|
|
eth_requirements = []
|
|
f = open('eth_requirements.txt', 'r')
|
|
while True:
|
|
l = f.readline()
|
|
if l == '':
|
|
break
|
|
eth_requirements.append(l.rstrip())
|
|
f.close()
|
|
|
|
|
|
setup(
|
|
install_requires=requirements,
|
|
extras_require={
|
|
'eth': eth_requirements,
|
|
},
|
|
entry_points={
|
|
'console_scripts': [
|
|
'cic-cli=cic.runnable.cic_cmd:main',
|
|
],
|
|
},
|
|
)
|