funga-eth/setup.py

63 lines
1.5 KiB
Python
Raw 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",
version="0.5.2",
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',
],
},
url='https://gitlab.com/chaintool/funga-eth',
2021-10-15 22:40:22 +02:00
include_package_data=True,
2021-10-10 18:14:34 +02:00
)