Files
tubestation/python/mach
Mitchell Hentges 7bdf781873 Bug 1743578: Activate Mach site in mozperftest/runner.py r=sparky
When activating a command virtualenv, it rightfully complains if it
isn't already running within an active Mach site - the abstraction has
restrictions to act as guardrails around the risky business that is
`sys.path` patching.

Replace `mozperftest/runner.py`'s ad-hoc `sys.path` initializing with
`MachSiteManager`'s `activate()` instead.

Removes the calls to `_setup_path()` where the `sys.path` should
already be set-up.

Differential Revision: https://phabricator.services.mozilla.com/D132503
2021-12-01 15:51:32 +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/``.