gecko-dev/python
Māris Fogels 75d85af992 Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal
Make the $PYTHON3 build var point to a full virtualenv bootstrapped with
the same libraries as the $PYTHON Python 2 build var. This allows us to
upgrade build tasks from $PYTHON to $PYTHON3.

This patch adds some debug logging and documentation to the Python
2 virtualenv so that it is easier to diagnose issues that may arise
from running two different Python interpreters in re-entrant
multiprocess routines.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:23:03 +00:00
..
devtools/migrate-l10n Bug 1559975 - fix python2 linter errors for python/devtools r=ahal 2019-07-16 17:46:08 +00:00
docs
gdbpp/gdbpp Bug 1564314 - Make linters happy with the gdbpp code. r=nalexander 2019-07-11 18:19:44 +00:00
l10n Bug 1570792 - Toggle extension enabled state on the card r=rpl,fluent-reviewers,Gijs 2019-11-21 22:04:55 +00:00
mach Bug 1581224 - convert mach uuid to be compatible with both python2/3 r=Callek 2019-10-21 16:33:00 +00:00
mozboot Bug 1596645 - Support ./mach bootstrap for non-atrifact build of GeckoView on mozilla-build. r=froydnj 2019-11-18 19:30:14 +00:00
mozbuild Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal 2019-11-25 20:23:03 +00:00
mozlint Bug 1589056 - [mozlog] Update mozlog version number to 5.0 r=jgraham 2019-10-24 14:12:32 +00:00
mozrelease Bug 1595632 - don't hardcode TC root url for release start emails, r=Callek 2019-11-14 03:15:51 +00:00
mozterm
mozversioncontrol Bug 1592855 - run mach vendor python with python3 r=ahal 2019-11-05 15:29:44 +00:00
safety Bug 1591220 - migrate python-safety to run with python3 by default r=ahal 2019-11-04 21:55:21 +00:00
README
mach_commands.py Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal 2019-11-25 20:23:03 +00:00
moz.build Bug 1594907 - Fix some duplicate URL segments in firefox-source-docs, r=sylvestre 2019-11-07 23:07:20 +00:00

README

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Vendored python modules (use third_party/python instead)
* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243
https://bugzilla.mozilla.org/show_bug.cgi?id=1346025