gecko-dev/python/mozboot
Bobby Holley 2dbf847c0f Bug 1542376 - Avoid exception during Android bootstrap. r=glandium
Mozboot uses Python 2.7.3, along with the |unicode_literals| directive,
which makes string literals unicode by default. However, the
LooseVersion implementation that ships with Python throws an exception
when comparing against bare unicode strings, because it only checks for
StringType, not UnicodeType [1].

[1] https://github.com/enthought/Python-2.7.3/blob/master/Lib/distutils/version.py#L292

Differential Revision: https://phabricator.services.mozilla.com/D26378

--HG--
extra : moz-landing-system : lando
2019-04-05 22:07:30 +00:00
..
bin Bug 1485117 - Make standalone bootstrap work without a git checkout. r=glandium 2019-02-26 06:39:55 +00:00
mozboot Bug 1542376 - Avoid exception during Android bootstrap. r=glandium 2019-04-05 22:07:30 +00:00
support
README.rst
setup.py Bug 1408365 - Enable flake8/py2/py3 linters on python/mozboot. r=ahal 2017-10-13 23:33:00 -04:00

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!