mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 20:27:54 +00:00
fixed the pip module creation changes
Signed-off-by: shivam <shivam.thakur@candelatech.com>
This commit is contained in:
10
to_pip.sh
10
to_pip.sh
@@ -88,13 +88,9 @@ sed -i -- 's/from py_json/from .py_json/g' *.py
|
||||
|
||||
sed -i -- 's/py-scripts/py_scripts/g' *.py
|
||||
cd lf_libs || exit 1
|
||||
sed -i -- 's/py-scripts/py_scripts/g' *.py
|
||||
sed -i -- 's/py-json/py_json/g' *.py
|
||||
echo "from .lf_libs import lf_libs
|
||||
from .lf_libs import Report
|
||||
from .lf_libs import SCP_File
|
||||
from .lf_tests import lf_tests
|
||||
" > __init__.py
|
||||
sed -i -- 's/py-scripts/lanforge_scripts.py_scripts/g' *.py
|
||||
sed -i -- 's/py-json/lanforge_scripts.py_json/g' *.py
|
||||
sed -i -- 's/lf_library = importlib.import_module("lf_libs")/lf_library = importlib.import_module("lanforge_scripts.lf_libs.lf_libs")/g' *.py
|
||||
cd ../py_scripts || exit 1
|
||||
|
||||
echo "#from .connection_test import ConnectionTest
|
||||
|
||||
Reference in New Issue
Block a user