mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
3028964687
Global open doesn't have argument `encoding` in Python 2.7. open from the io package is needed.
21 lines
593 B
Python
21 lines
593 B
Python
from setuptools import setup
|
|
import lightning
|
|
import io
|
|
|
|
|
|
with io.open('README.md', encoding='utf-8') as f:
|
|
long_description = f.read()
|
|
|
|
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)
|