funga/setup.py
2021-09-15 17:35:33 +02:00

63 lines
1.7 KiB
Python

from setuptools import setup
f = open('README.md', 'r')
long_description = f.read()
f.close()
requirements = []
f = open('requirements.txt', 'r')
while True:
l = f.readline()
if l == '':
break
requirements.append(l.rstrip())
f.close()
sql_requirements = []
f = open('sql_requirements.txt', 'r')
while True:
l = f.readline()
if l == '':
break
sql_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(
name="crypto-dev-signer",
version="0.4.15a4",
description="A signer and keystore daemon and library for cryptocurrency software development",
author="Louis Holbrook",
author_email="dev@holbrook.no",
packages=[
'crypto_dev_signer.eth.signer',
'crypto_dev_signer.eth',
'crypto_dev_signer.cli',
'crypto_dev_signer.keystore',
'crypto_dev_signer.runnable',
'crypto_dev_signer',
],
install_requires=requirements,
extras_require={
'sql': sql_requirements,
},
tests_require=test_requirements,
long_description=long_description,
long_description_content_type='text/markdown',
entry_points = {
'console_scripts': [
'crypto-dev-daemon=crypto_dev_signer.runnable.signer:main',
'eth-keyfile=crypto_dev_signer.runnable.keyfile:main',
],
},
url='https://gitlab.com/chaintool/crypto-dev-signer',
)