Bug 1622301 - Establish comm/python directory. r=mkmelin

--HG--
extra : amend_source : f0c509f60bcc8fa735bd59e2f2f38e2e12cafff8
This commit is contained in:
Rob Lemley 2020-03-13 12:18:02 -04:00
Родитель b76468a3d1
Коммит 3a3fa438fc
2 изменённых файлов: 22 добавлений и 0 удалений

13
python/README Normal file
Просмотреть файл

@ -0,0 +1,13 @@
This directory contains common Python code for Thunderbird.
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, AND it
applies only to applications build from comm-central derived repositories
(Thunderbird and Seamonkey), 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).

9
python/moz.build Normal file
Просмотреть файл

@ -0,0 +1,9 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Default extra components to build config
with Files('**'):
BUG_COMPONENT = ('Thunderbird', 'Build Config')