File size: 381 Bytes
1302321
 
 
4585850
1302321
 
 
 
 
 
 
 
 
 
c1670b0
1302321
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import os
import subprocess
import sys

GITHUB_TOKEN = os.environ.get("GITHUB_TOKEN")

try:
    from ogren_main import app_base
except ModuleNotFoundError:
    subprocess.check_call([
        sys.executable, "-m", "pip", "install",
        f"git+https://{GITHUB_TOKEN}@github.com/kursathalat/ogren_base.git@main"
    ])
    from ogren_main import app_base
    
app_base.start_app()