33 lines
666 B
Python
33 lines
666 B
Python
from setuptools import setup
|
|
|
|
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(
|
|
package_data={
|
|
'': [
|
|
'data/GiftableToken.abi.json',
|
|
'data/GiftableToken.bin',
|
|
],
|
|
},
|
|
include_package_data=True,
|
|
install_requires=requirements,
|
|
tests_require=test_requirements,
|
|
)
|