From 5807ec7bc875d678f2e9502259d62d83b858a854 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 29 Mar 2020 14:24:17 +0000 Subject: project: add os.py --- project/utils.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'project/utils.py') diff --git a/project/utils.py b/project/utils.py index 9d986b0..8c57f59 100644 --- a/project/utils.py +++ b/project/utils.py @@ -6,7 +6,6 @@ from contextlib import contextmanager import logging import os.path -import platform import subprocess @@ -44,11 +43,3 @@ def run(cmd_line): def run_cmake(cmake_args): return run(['cmake'] + cmake_args) - - -def on_windows(): - return platform.system() == 'Windows' - - -def on_linux(): - return not on_windows() -- cgit v1.2.3