Commit Graph

23 Commits

Author SHA1 Message Date
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