mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
92d5021daf
This patch initializes the Mozpower module and implements the PowerBase class. This class is used as a base for subclasses that implement power measurement tooling for various OS and CPU combinations. Differential Revision: https://phabricator.services.mozilla.com/D39191 --HG-- extra : moz-landing-system : lando
35 lines
1.2 KiB
Python
35 lines
1.2 KiB
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/.
|
|
|
|
from __future__ import absolute_import
|
|
|
|
from setuptools import setup
|
|
|
|
PACKAGE_NAME = 'mozpower'
|
|
PACKAGE_VERSION = '1.0.0'
|
|
|
|
deps = ['mozlog >= 3.0', 'mozdevice >= 3.0.2']
|
|
|
|
setup(name=PACKAGE_NAME,
|
|
version=PACKAGE_VERSION,
|
|
description="Mozilla-authored power usage measurement tools",
|
|
long_description="see https://firefox-source-docs.mozilla.org/mozbase/index.html",
|
|
classifiers=['Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3.5'],
|
|
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
keywords='',
|
|
author='Mozilla Performance Test Engineering Team',
|
|
author_email='tools@lists.mozilla.org',
|
|
url='https://wiki.mozilla.org/Auto-tools/Projects/Mozbase',
|
|
license='MPL',
|
|
packages=['mozpower'],
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
install_requires=deps,
|
|
entry_points="""
|
|
# -*- Entry points: -*-
|
|
""",
|
|
)
|