mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-01 03:24:41 +01:00
41e914fb37
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
25 lines
769 B
Python
25 lines
769 B
Python
from pyln.spec.bolt1 import __version__, desc
|
|
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 do_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)
|
|
|
|
|
|
do_setup(1, __version__, desc)
|