funga/setup.py

63 lines
1.5 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="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=[
'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,
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': [
'crypto-dev-daemon=funga.runnable.signer:main',
'eth-keyfile=funga.runnable.keyfile:main',
2020-10-18 10:32:23 +02:00
],
},
url='https://gitlab.com/chaintool/funga',
2020-08-08 10:45:37 +02:00
)