mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
pyln-spec: Clean up the setup.py files
This centralizes the setup.py file, and parametrizes it so it can auto-detect which bolt we are building. It also uses trick 3 from [1] to avoid importing the package itself during the manifest creation, which'd cause an import error due to missing dependencies. [1] https://packaging.python.org/guides/single-sourcing-package-version/
This commit is contained in:
committed by
Rusty Russell
parent
6b0a7b173c
commit
0dd57cbf3c
@@ -1,4 +0,0 @@
|
||||
from pyln.spec.bolt1 import __version__, desc
|
||||
from boltsetup import bolt_setup
|
||||
|
||||
bolt_setup(1, __version__, desc)
|
||||
1
contrib/pyln-spec/bolt1/setup.py
Symbolic link
1
contrib/pyln-spec/bolt1/setup.py
Symbolic link
@@ -0,0 +1 @@
|
||||
../setup.py
|
||||
Reference in New Issue
Block a user