Debian Codegraph @

testing/mozbase/mozsystemmonitor/setup.py

raw
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5 import os
6
7 from setuptools import setup
8
9 PACKAGE_VERSION = "1.0.1"
10
11 try:
12 pwd = os.path.dirname(os.path.abspath(__file__))
13 description = open(os.path.join(pwd, "README.rst")).read()
14 except Exception:
15 description = ""
16
17 setup(
18 name="mozsystemmonitor",
19 description="Monitor system resource usage.",
20 long_description="see https://firefox-source-docs.mozilla.org/mozbase/index.html",
21 classifiers=[
22 "Programming Language :: Python :: 3",
23 ],
24 # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
25 license="MPL 2.0",
26 keywords="mozilla",
27 author="Mozilla Automation and Tools Team",
28 author_email="[email protected]",
29 url="https://wiki.mozilla.org/Auto-tools/Projects/Mozbase",
30 packages=["mozsystemmonitor"],
31 version=PACKAGE_VERSION,
32 install_requires=["psutil >= 3.1.1"],
33 )