Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 9373 → Rev 9374

/_tools/workspace/build.py
1,7 → 1,8
import sys
import os
 
path_to_tools = '..'
path_to_tools_workspace = os.path.dirname(os.path.abspath(__file__))
path_to_tools = os.path.dirname(path_to_tools_workspace)
sys.path.append(path_to_tools)
 
from lib.tupfile_parser import parse as parse_tupfile
/_tools/workspace/run.py
5,11 → 5,12
import urllib.request
import subprocess
 
import build
 
path_to_tools = '..'
path_to_tools_workspace = os.path.dirname(os.path.abspath(__file__))
path_to_tools = os.path.dirname(path_to_tools_workspace)
sys.path.append(path_to_tools)
 
from workspace.build import build
 
from lib.makeflop import Floppy
from lib.platform import is_win32, path
from lib.logging import log
50,7 → 51,7
return subprocess.Popen(a, bufsize = 0, stdout = qemu_stdout, stderr = qemu_stderr, stdin = subprocess.DEVNULL, start_new_session = True)
 
if __name__ == "__main__":
program_files = build.build()
program_files = build()
 
os.makedirs("workspace", exist_ok = True)