mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2026-01-27 10:23:37 +00:00
[WIFI-10536] Fix: use tip_2x instead of the template for the setup
Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
This commit is contained in:
@@ -14,7 +14,6 @@ COPY requirements.txt /wlan-testing/requirements.txt
|
||||
RUN pip3 install -r /wlan-testing/requirements.txt
|
||||
COPY tests /wlan-testing/tests
|
||||
COPY libs /wlan-testing/libs
|
||||
COPY dut_lib_template /wlan-testing/dut_lib_template
|
||||
COPY setup_env.bash /wlan-testing/setup_env.bash
|
||||
ENV PYTHON=/usr/local/bin/python3
|
||||
ENV PIP=/usr/local/bin/pip3
|
||||
|
||||
@@ -6,7 +6,7 @@ with open("README.md", "r") as fh:
|
||||
setuptools.setup(
|
||||
name='dut_lib_template',
|
||||
version='0.1',
|
||||
scripts=['dut_lib_template.py', 'ap_lib.py', 'SetupLibrary.py', 'openwrt_ctl.py'],
|
||||
scripts=['dut_lib_template.py', 'controller.py', 'ap_lib.py', 'SetupLibrary.py', 'openwrt_ctl.py'],
|
||||
author="Shivam Thakur",
|
||||
author_email="shivam.thakur@candelatech.com",
|
||||
description="TIP OpenWIFI 2.X Library",
|
||||
|
||||
@@ -98,7 +98,7 @@ then
|
||||
cd libs/tip_2x
|
||||
$PYTHON setup.py bdist_wheel
|
||||
$PIP install dist/*.whl --force-reinstall
|
||||
cd ../
|
||||
cd ../../
|
||||
fi
|
||||
x=$(whoami)
|
||||
echo -e "\"\"\"\nRegistered Target Imports\n\"\"\"\nimport sys\nimport importlib\n\nsys.path.append('/usr/local/bin')\n\nsys.path.append('/home/$x/.local//bin/')\n\nsys.path.append('/home/$x/.local/lib/python3.8/site-packages/')\n\n" >> tests/imports.py
|
||||
|
||||
Reference in New Issue
Block a user