servo/python/mach
Mukilan Thiyagarajan 117cc1da6c
mach: use importlib module instead of imp (#30645)
* mach: use `importlib` module instead of `imp`

`imp` module has been deprecated since python 3.4
and has been removed in 3.12. The recommended alternative
is to use the `importlib` module that was introduced in
python 3.1

This is required to fix the CI failures in macos builds
since GitHub runner images for macos-13 now use python 3.12

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

* mach: use `importlib` module instead of `imp`

`imp` module has been deprecated since python 3.4
and has been removed in 3.12. The recommended alternative
is to use the `importlib` module that was introduced in
python 3.1

This is required to fix the CI failures in macos builds
since GitHub runner images for macos-13 now use python 3.12

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

---------

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2023-10-30 07:53:20 +00:00
..
mach mach: use importlib module instead of imp (#30645) 2023-10-30 07:53:20 +00:00
mach.egg-info Vendor mach-1.0.0. 2021-12-21 10:57:18 -05:00
PKG-INFO Vendor mach-1.0.0. 2021-12-21 10:57:18 -05:00
README.rst Vendor mach-1.0.0. 2021-12-21 10:57:18 -05:00
setup.cfg Vendor mach-1.0.0. 2021-12-21 10:57:18 -05:00
setup.py Stop using distutils (#30638) 2023-10-28 17:17:57 +00:00

====
mach
====

Mach (German for *do*) is a generic command dispatcher for the command
line.

To use mach, you install the mach core (a Python package), create an
executable *driver* script (named whatever you want), and write mach
commands. When the *driver* is executed, mach dispatches to the
requested command handler automatically.

To learn more, read the docs in ``docs/``.