#!/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 .")
|
|
|
|
|
|
|