diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-06-12 22:39:31 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-07-03 14:11:30 -0400 |
commit | 075ccc68bec1f3eb74e2089950b48627811354ac (patch) | |
tree | 8de7e084d3ca50369230369cb2de3cf086d78cd6 /mesonbuild/mintro.py | |
parent | 44c95087d05f93558d60113187d35a2f251e2a77 (diff) | |
download | meson-075ccc68bec1f3eb74e2089950b48627811354ac.zip meson-075ccc68bec1f3eb74e2089950b48627811354ac.tar.gz meson-075ccc68bec1f3eb74e2089950b48627811354ac.tar.bz2 |
sort imports for neatness
Diffstat (limited to 'mesonbuild/mintro.py')
-rw-r--r-- | mesonbuild/mintro.py | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py index e83c08b..5421af3 100644 --- a/mesonbuild/mintro.py +++ b/mesonbuild/mintro.py @@ -19,21 +19,19 @@ tests and so on. All output is in JSON for simple parsing. Currently only works for the Ninja backend. Others use generated project files and don't need this info.""" +import argparse import collections import json -from . import build, coredata as cdata -from . import mesonlib -from .ast import IntrospectionInterpreter, BUILD_TARGET_FUNCTIONS, AstConditionLevel, AstIDGenerator, AstIndentationGenerator, AstJSONPrinter -from . import mlog -from .backend import backends -from .mparser import BaseNode, FunctionNode, ArrayNode, ArgumentNode, StringNode -from .interpreter import Interpreter +import os from pathlib import Path, PurePath import typing as T -import os -import argparse +from . import build, mesonlib, mlog, coredata as cdata +from .ast import IntrospectionInterpreter, BUILD_TARGET_FUNCTIONS, AstConditionLevel, AstIDGenerator, AstIndentationGenerator, AstJSONPrinter +from .backend import backends +from .interpreter import Interpreter from .mesonlib import OptionKey +from .mparser import BaseNode, FunctionNode, ArrayNode, ArgumentNode, StringNode def get_meson_info_file(info_dir: str) -> str: return os.path.join(info_dir, 'meson-info.json') |