2020-11-13 23:19:48 +01:00
|
|
|
from setuptools import setup
|
|
|
|
|
2021-03-31 16:07:23 +02: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-11-13 23:19:48 +01:00
|
|
|
setup(
|
2020-11-19 18:09:23 +01:00
|
|
|
package_data={
|
|
|
|
'': [
|
|
|
|
'data/*.abi.json',
|
|
|
|
'data/*.bin',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
include_package_data=True,
|
2021-03-31 16:07:23 +02:00
|
|
|
install_requires=requirements,
|
|
|
|
tests_require=test_requirements,
|
2020-11-13 23:19:48 +01:00
|
|
|
)
|