2020-08-08 10:45:37 +02:00
|
|
|
from setuptools import setup
|
|
|
|
|
2020-10-18 10:32:23 +02:00
|
|
|
f = open('README.md', 'r')
|
|
|
|
long_description = f.read()
|
|
|
|
f.close()
|
|
|
|
|
2020-12-17 11:10:13 +01:00
|
|
|
requirements = []
|
|
|
|
f = open('requirements.txt', 'r')
|
|
|
|
while True:
|
|
|
|
l = f.readline()
|
|
|
|
if l == '':
|
|
|
|
break
|
|
|
|
requirements.append(l.rstrip())
|
|
|
|
f.close()
|
|
|
|
|
2021-04-11 15:09:16 +02:00
|
|
|
sql_requirements = []
|
|
|
|
f = open('sql_requirements.txt', 'r')
|
|
|
|
while True:
|
|
|
|
l = f.readline()
|
|
|
|
if l == '':
|
|
|
|
break
|
|
|
|
sql_requirements.append(l.rstrip())
|
|
|
|
f.close()
|
|
|
|
|
2020-12-17 11:10:13 +01:00
|
|
|
test_requirements = []
|
|
|
|
f = open('test_requirements.txt', 'r')
|
|
|
|
while True:
|
|
|
|
l = f.readline()
|
|
|
|
if l == '':
|
|
|
|
break
|
|
|
|
test_requirements.append(l.rstrip())
|
|
|
|
f.close()
|
|
|
|
|
2020-08-08 10:45:37 +02:00
|
|
|
setup(
|
2021-10-10 09:41:56 +02:00
|
|
|
name="funga",
|
|
|
|
version="0.5.1a1",
|
2020-08-08 10:45:37 +02:00
|
|
|
description="A signer and keystore daemon and library for cryptocurrency software development",
|
|
|
|
author="Louis Holbrook",
|
|
|
|
author_email="dev@holbrook.no",
|
2020-08-08 11:33:15 +02:00
|
|
|
packages=[
|
2021-10-10 09:41:56 +02:00
|
|
|
'funga.eth.signer',
|
|
|
|
'funga.eth',
|
|
|
|
'funga.cli',
|
|
|
|
'funga.keystore',
|
|
|
|
'funga.runnable',
|
|
|
|
'funga',
|
2020-08-08 11:33:15 +02:00
|
|
|
],
|
2020-12-17 11:10:13 +01:00
|
|
|
install_requires=requirements,
|
2021-04-11 15:09:16 +02:00
|
|
|
extras_require={
|
|
|
|
'sql': sql_requirements,
|
|
|
|
},
|
2020-12-17 11:10:13 +01:00
|
|
|
tests_require=test_requirements,
|
2020-10-18 10:32:23 +02:00
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type='text/markdown',
|
|
|
|
entry_points = {
|
|
|
|
'console_scripts': [
|
2021-10-10 09:41:56 +02:00
|
|
|
'crypto-dev-daemon=funga.runnable.signer:main',
|
|
|
|
'eth-keyfile=funga.runnable.keyfile:main',
|
2020-10-18 10:32:23 +02:00
|
|
|
],
|
|
|
|
},
|
2021-10-10 09:41:56 +02:00
|
|
|
url='https://gitlab.com/chaintool/funga',
|
2020-08-08 10:45:37 +02:00
|
|
|
)
|