setup.py (1625B)
1 from setuptools import setup 2 3 requirements = [] 4 f = open('requirements.txt', 'r') 5 while True: 6 l = f.readline() 7 if l == '': 8 break 9 requirements.append(l.rstrip()) 10 f.close() 11 12 sql_requirements = [] 13 f = open('sql_requirements.txt', 'r') 14 while True: 15 l = f.readline() 16 if l == '': 17 break 18 sql_requirements.append(l.rstrip()) 19 f.close() 20 21 test_requirements = [] 22 f = open('test_requirements.txt', 'r') 23 while True: 24 l = f.readline() 25 if l == '': 26 break 27 test_requirements.append(l.rstrip()) 28 f.close() 29 30 f = open('README.md', 'r') 31 description = f.read() 32 f.close() 33 34 setup( 35 name="funga-eth", 36 version="0.8.0", 37 description="Ethereum implementation of the funga keystore and signer", 38 author="Louis Holbrook", 39 author_email="dev@holbrook.no", 40 packages=[ 41 'funga.eth.signer', 42 'funga.eth', 43 'funga.eth.cli', 44 'funga.eth.keystore', 45 'funga.eth.runnable', 46 ], 47 install_requires=requirements, 48 extras_require={ 49 'sql': sql_requirements, 50 }, 51 tests_require=test_requirements, 52 entry_points = { 53 'console_scripts': [ 54 'funga-ethd=funga.eth.runnable.signer:main', 55 'eth-keyfile=funga.eth.runnable.keyfile:main', 56 'eth-sign-msg=funga.eth.runnable.msg:main', 57 ], 58 }, 59 url='https://git.defalsify.org/funga-eth', 60 include_package_data=True, 61 long_description=description, 62 long_description_content_type='text/markdown', 63 )