зеркало из https://github.com/mozilla/gecko-dev.git
d6d752863b
`bootstrap` does not/cannot "fix" a broken Python environment, but we can do some checks and make sensible suggestions about how to fix the problem. We expect that both of the checks we do here are primarily going to be triggered on new installs of Ubuntu. For macOS, installing `python` with `brew` will also install `pip`, and Windows has MozillaBuild. It's just Ubuntu that goes out of its way to be confusing, so add particularly informative error messages for Debian/Ubuntu. Note that this doesn't change the functionality of `bootstrap` in any fundamental way -- `mach` is already broken if either of these conditions don't hold, but now we show an informative error message. Differential Revision: https://phabricator.services.mozilla.com/D91470 |
||
---|---|---|
.. | ||
bin | ||
mozboot | ||
README.rst | ||
setup.py |
README.rst
mozboot - Bootstrap your system to build Mozilla projects ========================================================= This package contains code used for bootstrapping a system to build mozilla-central. This code is not part of the build system per se. Instead, it is related to everything up to invoking the actual build system. If you have a copy of the source tree, you run: python bin/bootstrap.py If you don't have a copy of the source tree, you can run: curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py | python - The bootstrap script will download everything it needs from hg.mozilla.org automatically!