mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-02 20:54:23 +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:
committed by
Rusty Russell
parent
94c15f5cc0
commit
9bfdf234f3
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user