Set up the yura async AI client project scaffold including .gitignore, build system configuration in pyproject.toml and setup.cfg, a make script for venv and build automation, the AsyncClient class in src/yura/client.py with websocket-based chat communication, and pre-built distribution artifacts for version 13.3.7.
17 lines
376 B
Python
Executable File
17 lines
376 B
Python
Executable File
#!/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 .")
|
|
|
|
|
|
|