funga/setup.py

68 lines
1.8 KiB
Python
Raw Normal View History

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()
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(
name="crypto-dev-signer",
2021-09-06 15:47:03 +02:00
version="0.4.15a2",
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=[
'crypto_dev_signer.eth.signer',
2021-03-25 19:14:55 +01:00
#'crypto_dev_signer.eth.web3ext',
#'crypto_dev_signer.eth.helper',
2020-08-08 11:33:15 +02:00
'crypto_dev_signer.eth',
'crypto_dev_signer.keystore',
2020-10-18 10:32:23 +02:00
'crypto_dev_signer.runnable',
2021-03-25 19:14:55 +01:00
#'crypto_dev_signer.helper',
2020-08-08 11:33:15 +02:00
'crypto_dev_signer',
],
2020-12-17 11:10:13 +01:00
install_requires=requirements,
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',
#scripts = [
# 'scripts/crypto-dev-daemon',
# ],
entry_points = {
'console_scripts': [
'crypto-dev-daemon=crypto_dev_signer.runnable.signer:main',
2021-03-17 22:08:20 +01:00
'eth-keyfile=crypto_dev_signer.runnable.keyfile:main',
2020-10-18 10:32:23 +02:00
],
},
url='https://gitlab.com/chaintool/crypto-dev-signer',
2020-08-08 10:45:37 +02:00
)