Commit Graph

8 Commits

Author SHA1 Message Date
Matthew Stidham
36400e003d Making it so that lanforge-scripts can work if the repository isn't named exactly the same way
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-17 15:29:15 -07:00
erinnerim
1d7578251c Updates to import statements:
- Import importlib, os, and sys to each python script.
 - Append "lanforge-scripts" root directory to the system path, allowing each script to be called from an antecedent directory. e.g.
if 'lanforge-scripts' not in sys.path:
    sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../../")))
 - All statements of the form 'from <module> import <class>' replace with:
<module> = importlib.import_module("lanforge-scripts.<directory>.<module>")
<class> = <module>.<class>
2021-09-15 16:17:16 -07:00
Chuck SmileyRekiere
743b5f56c9 Revert "Update py_scripts to be in line with pip standards"
This reverts commit 37df48594e.
2021-09-09 05:32:05 -06:00
Matthew Stidham
37df48594e Update py_scripts to be in line with pip standards
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-08 16:57:10 -07:00
Matthew Stidham
96e8706e6b Fixing regression test errors 2021-02-10 11:20:14 -08:00
anjali
9f6dffdd55 Modify Wlan Capacity Claculator Script 2021-01-21 14:20:11 +05:30
Dipti
2eb32c2990 password argument change, saving executable perm for scripts 2020-11-20 12:27:09 -08:00
anjali
e12d003a9e WLAN Capacity Calculator 2020-11-10 23:16:45 -08:00