setup.py (1207B)
1 from setuptools import setup 2 3 f = open('README.md', 'r') 4 long_description = f.read() 5 f.close() 6 7 requirements = [] 8 f = open('requirements.txt', 'r') 9 while True: 10 l = f.readline() 11 if l == '': 12 break 13 requirements.append(l.rstrip()) 14 f.close() 15 16 test_requirements = [] 17 f = open('test_requirements.txt', 'r') 18 while True: 19 l = f.readline() 20 if l == '': 21 break 22 test_requirements.append(l.rstrip()) 23 f.close() 24 25 xml_requirements = [] 26 f = open('xml_requirements.txt', 'r') 27 while True: 28 l = f.readline() 29 if l == '': 30 break 31 xml_requirements.append(l.rstrip()) 32 f.close() 33 34 setup( 35 name="funga", 36 version="0.5.7", 37 description="A signer and keystore daemon and library for cryptocurrency software development", 38 author="Louis Holbrook", 39 author_email="dev@holbrook.no", 40 packages=[ 41 'funga', 42 ], 43 install_requires=requirements, 44 tests_require=test_requirements, 45 long_description=long_description, 46 long_description_content_type='text/markdown', 47 extras_require={ 48 'xml': xml_requirements, 49 }, 50 url='https://git.defalsify.org/funga', 51 )