You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
692 B
20 lines
692 B
from setuptools import setup
|
|
import io
|
|
|
|
with io.open('requirements.txt', encoding='utf-8') as f:
|
|
requirements = [r for r in f.read().split('\n') if len(r)]
|
|
|
|
|
|
def bolt_setup(boltnum: int, version: str, desc: str):
|
|
setup(name='pyln-bolt{}'.format(boltnum),
|
|
version=version,
|
|
description=desc,
|
|
url='http://github.com/ElementsProject/lightning',
|
|
author='Rusty Russell',
|
|
author_email='rusty@rustcorp.com.au',
|
|
license='MIT',
|
|
packages=['pyln.spec.bolt{}'.format(boltnum)],
|
|
package_data={'pyln.proto.message': ['py.typed']},
|
|
scripts=[],
|
|
zip_safe=True,
|
|
install_requires=requirements)
|
|
|