erc20-demurrage-token/python/setup.py

38 lines
792 B
Python
Raw Permalink Normal View History

2021-03-01 10:53:39 +01:00
from setuptools import setup
2023-05-18 07:42:14 +02:00
import os
2021-03-01 10:53:39 +01:00
2021-05-06 10:35:58 +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()
2023-05-18 07:42:14 +02:00
man_dir = 'man/build'
2021-03-01 10:53:39 +01:00
setup(
package_data={
'': [
'data/MintableFactor.bin',
],
},
include_package_data=True,
2021-05-06 10:35:58 +02:00
install_requires=requirements,
tests_require=test_requirements,
2023-05-18 07:42:14 +02:00
data_files=[("man/man1", [
os.path.join(man_dir, 'erc20-demurrage-token-publish.1'),
]
)],
2021-03-01 10:53:39 +01:00
)