mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
4e0c3f098c
Simple transcript of the specification in python :-) Signed-off-by: Christian Decker <decker.christian@gmail.com>
25 lines
751 B
Python
25 lines
751 B
Python
from setuptools import setup
|
|
import lightning
|
|
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='pylightning',
|
|
version=lightning.__version__,
|
|
description='Client library for lightningd',
|
|
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=['lightning'],
|
|
scripts=['lightning-pay'],
|
|
zip_safe=True,
|
|
install_requires=requirements)
|