funga-eth/setup.py

64 lines
1.6 KiB
Python
Raw Permalink Normal View History

2021-10-10 18:14:34 +02:00
from setuptools import setup
2021-10-15 22:40:22 +02:00
f = open('README', 'r')
2021-10-10 18:14:34 +02:00
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="funga-eth",
2022-03-06 20:31:17 +01:00
version="0.6.0",
2021-10-10 18:14:34 +02:00
description="Ethereum implementation of the funga keystore and signer",
author="Louis Holbrook",
author_email="dev@holbrook.no",
packages=[
'funga.eth.signer',
'funga.eth',
'funga.eth.cli',
'funga.eth.keystore',
'funga.eth.runnable',
],
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': [
'funga-ethd=funga.eth.runnable.signer:main',
2021-10-10 18:14:34 +02:00
'eth-keyfile=funga.eth.runnable.keyfile:main',
2022-01-24 13:04:21 +01:00
'eth-sign-msg=funga.eth.runnable.msg:main',
2021-10-10 18:14:34 +02:00
],
},
2022-02-20 17:40:55 +01:00
url='https://git.grassecon.net/chaintool/funga-eth',
2021-10-15 22:40:22 +02:00
include_package_data=True,
2021-10-10 18:14:34 +02:00
)