2017-01-14 20:30:37 +01:00
|
|
|
from setuptools import setup
|
2019-03-04 04:08:48 +01:00
|
|
|
import lightning
|
2019-04-18 15:11:59 +02:00
|
|
|
import io
|
2019-03-04 04:08:48 +01:00
|
|
|
|
2017-01-14 20:30:37 +01:00
|
|
|
|
2019-04-18 15:11:59 +02:00
|
|
|
with io.open('README.md', encoding='utf-8') as f:
|
2019-02-19 20:50:38 +01:00
|
|
|
long_description = f.read()
|
|
|
|
|
2019-07-09 21:59:43 +02:00
|
|
|
with io.open('requirements.txt', encoding='utf-8') as f:
|
|
|
|
requirements = [r for r in f.read().split('\n') if len(r)]
|
|
|
|
|
2017-01-14 20:30:37 +01:00
|
|
|
setup(name='pylightning',
|
2019-03-04 04:08:48 +01:00
|
|
|
version=lightning.__version__,
|
2017-01-14 20:30:37 +01:00
|
|
|
description='Client library for lightningd',
|
2019-02-19 20:50:38 +01:00
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type='text/markdown',
|
2017-01-14 20:30:37 +01:00
|
|
|
url='http://github.com/ElementsProject/lightning',
|
|
|
|
author='Christian Decker',
|
|
|
|
author_email='decker.christian@gmail.com',
|
|
|
|
license='MIT',
|
|
|
|
packages=['lightning'],
|
2019-07-09 21:59:43 +02:00
|
|
|
zip_safe=True,
|
|
|
|
install_requires=requirements)
|