Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env python3
|
||||
import pathlib
|
||||
import os
|
||||
import sys
|
||||
|
||||
if not pathlib.Path(".venv").exists():
|
||||
os.system("python3 -m venv .venv")
|
||||
|
||||
if "build" in sys.argv:
|
||||
os.system("./.venv/bin/python -m pip install build")
|
||||
os.system("./.venv/bin/python -m build .")
|
||||
os.system("./.venv/bin/python -m pip install black")
|
||||
os.system("./.venv/bin/python -m black .")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user