Bug 1421799 - [test_archive] Add 'mozterm' to common.tests.zip r=gbrown
☠☠ backed out by 9dcfb0365f3c ☠ ☠
author<ahalberstadt@mozilla.com>
Fri, 15 Dec 2017 16:51:30 +0000
changeset 449354 e028f677bc8064dfbed6b752296f6913460a0dca
parent 449353 49699f5a94f66bc84a073d25ae9f0da4d9b376f6
child 449355 8c1f1ab754a53611748461ef815ed8f26be119ec
push id8527
push userCallek@gmail.com
push dateThu, 11 Jan 2018 21:05:50 +0000
treeherdermozilla-beta@95342d212a7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs1421799
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1421799 - [test_archive] Add 'mozterm' to common.tests.zip r=gbrown This makes sure the mozterm module is available to the testers. The setup.py was needed to it could be installed from requirements.txt. This module does not yet live on pypi. MozReview-Commit-ID: 9AL0EZ1uVgL
python/mozbuild/mozbuild/action/test_archive.py
python/mozterm/setup.py
testing/config/mozbase_requirements.txt
--- a/python/mozbuild/mozbuild/action/test_archive.py
+++ b/python/mozbuild/mozbuild/action/test_archive.py
@@ -216,16 +216,22 @@ ARCHIVE_FILES = {
         },
         {
             'source': buildconfig.topsrcdir,
             'base': 'testing/web-platform/tests/tools/wptserve',
             'pattern': '**',
             'dest': 'tools/wptserve',
         },
         {
+            'source': buildconfig.topsrcdir,
+            'base': 'python/mozterm',
+            'pattern': '**',
+            'dest': 'tools/mozterm',
+        },
+        {
             'source': buildconfig.topobjdir,
             'base': '',
             'pattern': 'mozinfo.json',
         },
         {
             'source': buildconfig.topobjdir,
             'base': 'dist/bin',
             'patterns': [
new file mode 100644
--- /dev/null
+++ b/python/mozterm/setup.py
@@ -0,0 +1,28 @@
+# 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/.
+
+from __future__ import absolute_import
+
+from setuptools import setup
+
+VERSION = '0.1.0'
+DEPS = []
+
+setup(
+    name='mozterm',
+    description='Terminal abstractions built around the blessings module.',
+    license='MPL 2.0',
+    author='Andrew Halberstadt',
+    author_email='ahalberstadt@mozilla.com',
+    url='',
+    packages=['mozterm'],
+    version=VERSION,
+    classifiers=[
+        'Environment :: Console',
+        'Development Status :: 3 - Alpha',
+        'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
+        'Natural Language :: English',
+    ],
+    install_requires=DEPS,
+)
--- a/testing/config/mozbase_requirements.txt
+++ b/testing/config/mozbase_requirements.txt
@@ -10,8 +10,10 @@
 ../mozbase/mozlog
 ../mozbase/moznetwork
 ../mozbase/mozprocess
 ../mozbase/mozprofile
 ../mozbase/mozrunner
 ../mozbase/mozscreenshot
 ../mozbase/moztest
 ../mozbase/mozversion
+
+../tools/mozterm