Commit Graph

36 Commits

Author SHA1 Message Date
shivam
550f5884c2 Added python as env variable
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-08-16 15:26:24 +05:30
shivam
dd606af86a fixed the pip module creation changes
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-08-05 00:50:59 +05:30
shivam
0c76b6ed6a fixed the circular import error from previous commit
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-07-22 14:01:45 +05:30
shivam
1fba19c245 fixed the broken pip creation imports
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-07-22 13:56:26 +05:30
Matthew Stidham
5e292861e9 to_pip.sh: put wifi_monitor conversion in the right spot in the script
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:45:16 +05:30
Matthew Stidham
1a3ebcd190 to_pip: importlib correction for wifi_monitor_profile
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:45:16 +05:30
Matthew Stidham
0bd93fc4d5 to_pip: Import improvements which stabilize our library
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:45:16 +05:30
Matthew Stidham
fe86aa5724 to_pip.sh: Fix improper import
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:44:27 +05:30
Matthew Stidham
318b903331 to_pip: Fix lf_report import
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:44:27 +05:30
Matthew Stidham
2ab79778dc to_pip.sh: Replace importlib usage where it is not needed when creating package
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:44:27 +05:30
Matthew Stidham
f54c9ba686 to_pip.sh: Files which are deleted need to be removed from init. No dead links.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:44:27 +05:30
Chuck SmileyRekiere
6585cf0531 Revert "py-scripts.__init__.py: define __init__ in file, it's just easier"
This reverts commit 01c2e3ec4c54cf5119ff2ff2ec874cc2ffdbe444.
2022-07-12 15:44:27 +05:30
Matthew Stidham
be1dd70abe py-scripts.__init__.py: define __init__ in file, it's just easier
to_pip.sh: Define __init__ In file, it's just easier

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:44:26 +05:30
matthew
141d7242b9 to_pip: Need to include backslashes in order to use a forward slash in sed
Signed-off-by: matthew <stidmatt@gmail.com>
2021-12-03 09:53:46 -08:00
matthew
7b007598c3 to_pip: Make inheritance statements more verbose
Signed-off-by: matthew <stidmatt@gmail.com>
2021-12-03 07:44:00 -08:00
Matthew Stidham
abffc47085 to_pip.sh: Remove old files from py_scripts/__init__.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-22 17:38:34 -08:00
Matthew Stidham
6e2900e4e8 Fix LFRequest queries
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-05 12:11:02 -07:00
Matthew Stidham
cce2d22456 Only import ap_ctl if Pexpect_serial is installed, because of Windows incompatibility issues
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-04 17:33:04 -07:00
Matthew Stidham
468279aef2 Remove reference to non-existant file and add in text at the bottom of the script telling where to find the whl
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-04 15:23:58 -07:00
Matthew Stidham
95ab91df2e Improve exit commands in to_pip.sh
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-04 15:13:36 -07:00
Matthew Stidham
b1b6173d14 Create python wheel by default. Move current folder to lanforge_scripts
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-04 14:24:27 -07:00
Matthew Stidham
878fa04d15 need to ensure build is installed and up to date
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-04 14:01:33 -07:00
Matthew Stidham
8340b0419e Don't rename parent folder, create wheel at end of process.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-04 13:29:49 -07:00
Matthew Stidham
eddbc31901 Update to_pip so it doesn't import non-existent files and removes all remaning importlib commands
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-04 12:53:35 -07:00
Matthew Stidham
097d2f42f5 Improving py-scripts files to fix errors with regression test
updating to_pip.sh

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-10-04 11:51:37 -07:00
Matthew Stidham
92df1ab82d Finish pip package creation script
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-24 15:38:32 -07:00
Matthew Stidham
17d93860ea Remove dead file link from py_scripts/__init__.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-23 14:44:19 -07:00
Matthew Stidham
65808d21fa 1. Fix circular import error in LFRequest
2. add import re to lfcli_base
3. add debug output to l3_cxprofile, so it is how it used to be
4. add help options to regression_test so we can test how the help flags are working
5. Make test_ip_variable_time work better when it is imported directly by moving most of the logic to a function under IPVariableTime
6. Add init.py file to the LANforge directory and fix archiving in the to_pip.py script

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-23 14:37:53 -07:00
Matthew Stidham
63a8eed6be Update to_pip commands since importlib statements don't have lanforge-scripts in them anymore
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-21 12:25:52 -07:00
Matthew Stidham
c16a9bb9e8 Configure to_pip to work with the importlib restructure
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-16 11:33:12 -07:00
Matthew Stidham
2699610c0b Improving to_pip.sh by adding opt args, and adding init creation
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-15 18:46:45 -07:00
Matthew Stidham
680a6a777c Revert "py-scripts diff file and pip conversion scripts"
This reverts commit ab7f0ccf6b.
2021-09-10 16:21:35 -07:00
Matthew Stidham
ab7f0ccf6b py-scripts diff file and pip conversion scripts
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-10 11:17:49 -07:00
Chuck SmileyRekiere
7cdf948d54 Revert "Revert "Create to_pip.sh, a script to automatically convert lanforge_scripts to a pip compliant package""
This reverts commit cea510ea7f.
2021-09-09 12:04:22 -06:00
Chuck SmileyRekiere
cea510ea7f Revert "Create to_pip.sh, a script to automatically convert lanforge_scripts to a pip compliant package"
This reverts commit 0a18e833da.
2021-09-09 05:30:10 -06:00
Matthew Stidham
0a18e833da Create to_pip.sh, a script to automatically convert lanforge_scripts to a pip compliant package
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-08 17:23:12 -07:00