Tree: Format and cleanup start
Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
4d83d1aae4
commit
ac0d6f8869
3 changed files with 6 additions and 2 deletions
1
main.py
1
main.py
|
|
@ -526,5 +526,6 @@ def entrypoint():
|
|||
log_level="debug",
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
entrypoint()
|
||||
|
|
|
|||
|
|
@ -10,10 +10,11 @@ if exist "%CONDA_PREFIX%" (
|
|||
echo It looks like you're in a conda environment. Skipping venv check.
|
||||
) else (
|
||||
if not exist "venv\" (
|
||||
echo "Venv doesn't exist! Creating one for you."
|
||||
echo Venv doesn't exist! Creating one for you.
|
||||
python -m venv venv
|
||||
call .\venv\Scripts\activate.bat
|
||||
)
|
||||
|
||||
call .\venv\Scripts\activate.bat
|
||||
)
|
||||
|
||||
:: Call the python script with batch args
|
||||
|
|
|
|||
2
start.py
2
start.py
|
|
@ -44,6 +44,8 @@ def get_argparser():
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
subprocess.run("pip -V")
|
||||
|
||||
parser = get_argparser()
|
||||
args = parser.parse_args()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue