mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
pyln-proto: Avoid circular dependency in setup.py
It seems that loading the version from the source files triggers imports that may not yet have been installed.
This commit is contained in:
parent
94c15f5cc0
commit
9bfdf234f3
2 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,7 @@ from .invoice import Invoice
|
|||
from .onion import OnionPayload, TlvPayload, LegacyOnionPayload
|
||||
from .wire import LightningConnection, LightningServerSocket
|
||||
|
||||
__version__ = '0.0.1'
|
||||
__version__ = '0.0.2'
|
||||
|
||||
__all__ = [
|
||||
"Invoice",
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
from setuptools import setup
|
||||
from pyln import proto
|
||||
import io
|
||||
|
||||
|
||||
|
@ -10,7 +9,7 @@ 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=proto.__version__,
|
||||
version='0.0.2',
|
||||
description='Pure python implementation of the Lightning Network protocol',
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown',
|
||||
|
|
Loading…
Add table
Reference in a new issue