2022-11-07 20:26:06 +00:00
|
|
|
import subprocess
|
2023-07-04 19:51:23 +01:00
|
|
|
import sys
|
2022-11-07 20:26:06 +00:00
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
|
2023-06-25 15:00:23 +01:00
|
|
|
def ex_gui():
|
2023-07-04 19:51:23 +01:00
|
|
|
scriptpath = Path.cwd() / "examples" / "gui" / "."
|
|
|
|
subprocess.run([sys.executable, str(scriptpath)])
|
2023-06-25 15:00:23 +01:00
|
|
|
|
|
|
|
|
2022-11-07 20:26:06 +00:00
|
|
|
def ex_obs():
|
2023-07-04 19:51:23 +01:00
|
|
|
scriptpath = Path.cwd() / "examples" / "obs" / "."
|
|
|
|
subprocess.run([sys.executable, str(scriptpath)])
|
2022-11-07 20:26:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
def ex_observer():
|
2023-07-04 19:51:23 +01:00
|
|
|
scriptpath = Path.cwd() / "examples" / "observer" / "."
|
|
|
|
subprocess.run([sys.executable, str(scriptpath)])
|
2023-06-25 15:00:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
def test():
|
|
|
|
subprocess.run(["tox"])
|