Bug 1622301 - Establish comm/python directory. r=mkmelin
authorRob Lemley <rob@thunderbird.net>
Fri, 13 Mar 2020 12:18:02 -0400
changeset 38483 c9fad40dfc94bb9eee4e8ef35847625ab29ce708
parent 38482 730929fba6d6041f104513cf4f4b4e1723813d10
child 38484 3ebf2b781988a46bf68ba2bcbf9824fab63b9f9b
push id400
push userclokep@gmail.com
push dateMon, 04 May 2020 18:56:09 +0000
reviewersmkmelin
bugs1622301
Bug 1622301 - Establish comm/python directory. r=mkmelin
python/README
python/moz.build
new file mode 100644
--- /dev/null
+++ b/python/README
@@ -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).
new file mode 100644
--- /dev/null
+++ b/python/moz.build
@@ -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')