diff options
| author | Xavier Claessens <xavier.claessens@collabora.com> | 2022-09-13 09:38:19 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-09-28 19:36:13 -0400 |
| commit | 2dfd952eb99590878430510644ffe99dd4a6a41d (patch) | |
| tree | 53001a096d997511a8d12a44cf5019a2ff8d5a2b /unittests/internaltests.py | |
| parent | a58ec322b3a9a07af83ea268341c16f972f52791 (diff) | |
| download | meson-2dfd952eb99590878430510644ffe99dd4a6a41d.tar.gz | |
Move classes used by scripts to their own module
Those classes are used by wrapper scripts and we should not have to
import the rest of mesonlib, build.py, and all their dependencies for
that.
This renames mesonlib/ directory to utils/ and add a mesonlib.py module
that imports everything from utils/ to not have to change `import
mesonlib` everywhere. It allows to import utils.core without importing
the rest of mesonlib.
Diffstat (limited to 'unittests/internaltests.py')
| -rw-r--r-- | unittests/internaltests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/internaltests.py b/unittests/internaltests.py index 85815121b..e37eb5567 100644 --- a/unittests/internaltests.py +++ b/unittests/internaltests.py @@ -13,7 +13,6 @@ # limitations under the License. from configparser import ConfigParser -from mesonbuild.mesonlib.universal import OptionType from pathlib import Path from unittest import mock import contextlib @@ -43,6 +42,7 @@ from mesonbuild.interpreterbase import typed_pos_args, InvalidArguments, typed_k from mesonbuild.mesonlib import ( LibType, MachineChoice, PerMachine, Version, is_windows, is_osx, is_cygwin, is_openbsd, search_version, MesonException, OptionKey, + OptionType ) from mesonbuild.interpreter.type_checking import in_set_validator, NoneType from mesonbuild.dependencies import PkgConfigDependency |
