setup.py (1440B)
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", 23 "Programming Language :: Python :: 3 :: Only", 24 "Programming Language :: Python :: 3.8", 25 "Programming Language :: Python :: 3.9", 26 "Programming Language :: Python :: 3.10", 27 "Programming Language :: Python :: 3.11", 28 "Programming Language :: Python :: 3.12", 29 "Programming Language :: Python :: 3.13", 30 ], 31 # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers 32 license="MPL 2.0", 33 keywords="mozilla", 34 author="Mozilla Automation and Tools Team", 35 author_email="tools@lists.mozilla.org", 36 url="https://wiki.mozilla.org/Auto-tools/Projects/Mozbase", 37 packages=["mozsystemmonitor"], 38 version=PACKAGE_VERSION, 39 install_requires=["psutil >= 3.1.1"], 40 python_requires=">=3.8", 41 )