Commit Graph

6 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
Matthew Stidham
f7162411e6 create scripts print when they are finished 2021-02-10 13:25:41 -08:00
Matthew Stidham
29353588ea html test output 2021-01-27 17:15:20 -08:00
Matthew Stidham
06d135597b all create scripts inherit directly from realm 2021-01-07 14:46:53 -08:00
Matthew Stidham
bec53e1574 base scripts for creating lanforge items 2021-01-06 16:53:01 -08:00