mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-01 03:24:41 +01:00
1facf626d5
With the preceeding UTF-8 fix, I'd like to detect UTF-8 support. But AFAICT Python doesn't have a standard way of doing version exposure. So I added __version__, but now we need to make sure it matches. I used the hackiest possible method. [ Christian Decker fixed version to be sane, so previous comment no longer applies! --RR ] Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
20 lines
580 B
Python
20 lines
580 B
Python
from setuptools import setup
|
|
import lightning
|
|
|
|
|
|
with 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)
|