mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-07 14:29:33 +01:00
eb73a0dd8f
This supports infrasructure for creating messages. In particular, it can be fed CSV from the spec's `tools/extract-formats.py` and then convert them all to and from strings and binary formats. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: pyln: new module pyln.proto.message
24 lines
758 B
Python
24 lines
758 B
Python
from setuptools import setup
|
|
import io
|
|
|
|
|
|
with io.open('README.md', encoding='utf-8') as f:
|
|
long_description = f.read()
|
|
|
|
with io.open('requirements.txt', encoding='utf-8') as f:
|
|
requirements = [r for r in f.read().split('\n') if len(r)]
|
|
|
|
setup(name='pyln-proto',
|
|
version='0.0.2',
|
|
description='Pure python implementation of the Lightning Network protocol',
|
|
long_description=long_description,
|
|
long_description_content_type='text/markdown',
|
|
url='http://github.com/ElementsProject/lightning',
|
|
author='Christian Decker',
|
|
author_email='decker.christian@gmail.com',
|
|
license='MIT',
|
|
packages=['pyln.proto', 'pyln.proto.message'],
|
|
scripts=[],
|
|
zip_safe=True,
|
|
install_requires=requirements)
|