Skip to content
This repository has been archived by the owner on Jun 14, 2021. It is now read-only.

Commit

Permalink
Merge branch 'dev' into feature/#151/represent-local-env
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit-dubreuil committed Apr 26, 2021
2 parents f9dbf11 + 5905d85 commit 7796f91
Show file tree
Hide file tree
Showing 32 changed files with 41 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ...cli import *
from .impl import *
from build_system.compiler import *
from ext.error import *
from error import *


def _find_no_arg(compiler_installation_path: Optional[Path] = None) -> Union[Path, NoReturn]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

import vswhere

from ext.error import *
from ext.error.utils import *
from error import *
from error.utils import *

_DEFAULT_REQUIRES: Final[list[str]] = [
'Microsoft.VisualStudio.Component.VC.Tools.x86.x64',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from build_system.compiler import *
from ext.cmd_integrity import *
from ext.error import *
from error import *


def verify_compiler_path(compiler_path: Path) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from ...cli import *
from build_system.compiler import *
from ext.error import *
from error import *
from .impl import *


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from pathlib import Path
from typing import Optional

from ext.error import *
from error import *
from ..find_build_dir import *


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from pathlib import Path
from typing import Optional

from ext.error import *
from error import *
from file_structure import *
from ..find_build_dir import *

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from build_system.build_target import *
from build_system.compiler import *
from ext.error import *
from error import *
from ext.more_path import *
from .target_dir_creation import *
from .target_dir_name_generation import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from build_system.build_target import *
from build_system.compiler import *
from ext.error import *
from error import *


def generate_targets(compiler_instances: Optional[list[CompilerInstance]] = None) \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from pathlib import Path
from typing import Optional

from ext.error import *
from ext.error.utils import *
from error import *
from error.utils import *
from file_structure import *
from ..find_root_dir import *

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from pathlib import Path
from typing import Optional

from ext.error import *
from ext.error.utils import *
from error import *
from error.utils import *
from file_structure import *
from .impl import *

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from pathlib import Path
from typing import Optional

from ext.error import *
from ext.error.utils import *
from error import *
from error.utils import *
from file_structure import *
from .conf_build_system import *

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from pathlib import Path
from typing import Optional

from ext.error import *
from ext.error.utils import *
from error import *
from error.utils import *
from file_structure import *
from ..find_root_dir import *

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from pathlib import Path
from typing import Optional

from ext.error import *
from ext.error.utils import *
from error import *
from error.utils import *
from file_structure import *


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from build_system.compiler import *
from cli import *
from ext.cmd_integrity import *
from ext.error import *
from error import *
from file_structure import *
from .meson_machine_file_args import *

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
__all__ = ['CompilerInstance']

from abc import ABCMeta, abstractmethod
import contextlib
from abc import ABCMeta, abstractmethod
from dataclasses import dataclass
from pathlib import Path
from typing import NoReturn, Optional, Type, final

from ..core import *
from ..build_option import *
from error import *
from error.utils import *
from host import *
from ext.error import *
from ext.error.utils import *
from ..build_option import *
from ..core import *


@dataclass(order=True, frozen=True)
Expand Down
11 changes: 5 additions & 6 deletions conf/script/src/build_system/compiler/installed_instance/gnu.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
from dataclasses import dataclass
from pathlib import Path

from ..core import *
from ..build_option import *
from host import *
from ext.error import *
from ext.error.utils import *
from .compiler_instance import *
from error import *
from error.utils import *
from ext.cmd_integrity import *
from .compiler_instance import *
from ..build_option import *
from ..core import *


@dataclass(order=True, frozen=True)
Expand Down
10 changes: 5 additions & 5 deletions conf/script/src/build_system/compiler/installed_instance/msvc.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
from pathlib import Path
from typing import Optional, final

from ..core import *
from ..build_option import *
from .compiler_instance import *
from build_system.cmd.compiler.host.get_info.location.msvc import *
from ext.error import *
from ext.error.utils import *
from error import *
from error.utils import *
from .compiler_instance import *
from ..build_option import *
from ..core import *


@final
Expand Down
4 changes: 2 additions & 2 deletions conf/script/src/build_system/compiler/reqs/reqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from pathlib import Path
from typing import Final

from ext.error import *
from ext.error.utils import *
from error import *
from error.utils import *
from host import *
from .scheme import *
from ..core import *
Expand Down
2 changes: 1 addition & 1 deletion conf/script/src/cli/arg_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from typing import AnyStr, Optional

from .arg import *
from ext.error import *
from error import *
from ext.more_typing import *


Expand Down
2 changes: 1 addition & 1 deletion conf/script/src/cli/try_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import argparse
from typing import Callable

from ext.error import *
from error import *


def try_cmd_except_managed_errors(cmd_func: Callable, arg_parser: argparse.ArgumentParser):
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion conf/script/src/test/test_ext/error/core/test_managed.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import unittest

from ext.error import *
from error import *
from ext.meta_prog.introspection import *


Expand Down
2 changes: 1 addition & 1 deletion conf/script/src/test/test_ext/error/core/test_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import abc
import unittest

from ext.error import *
from error import *
from ext.meta_prog.introspection import *


Expand Down

0 comments on commit 7796f91

Please sign in to comment.