setup.py (1884B)
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 file, 3 # You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 from setuptools import find_packages, setup 6 7 PACKAGE_NAME = "mozlog" 8 PACKAGE_VERSION = "8.0.0" 9 DEPS = [ 10 "blessed>=1.19.1", 11 "mozterm", 12 "mozfile", 13 "mozsystemmonitor", 14 ] 15 16 17 setup( 18 name=PACKAGE_NAME, 19 version=PACKAGE_VERSION, 20 description="Robust log handling specialized for logging in the Mozilla universe", 21 long_description="see https://firefox-source-docs.mozilla.org/mozbase/index.html", 22 author="Mozilla Automation and Testing Team", 23 author_email="tools@lists.mozilla.org", 24 url="https://wiki.mozilla.org/Auto-tools/Projects/Mozbase", 25 license="Mozilla Public License 2.0 (MPL 2.0)", 26 packages=find_packages(), 27 zip_safe=False, 28 install_requires=DEPS, 29 tests_require=["mozfile"], 30 platforms=["Any"], 31 classifiers=[ 32 "Development Status :: 4 - Beta", 33 "Environment :: Console", 34 "Intended Audience :: Developers", 35 "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", 36 "Operating System :: OS Independent", 37 "Programming Language :: Python", 38 "Programming Language :: Python :: 3 :: Only", 39 "Programming Language :: Python :: 3.8", 40 "Programming Language :: Python :: 3.9", 41 "Programming Language :: Python :: 3.10", 42 "Programming Language :: Python :: 3.11", 43 "Programming Language :: Python :: 3.12", 44 "Programming Language :: Python :: 3.13", 45 "Topic :: Software Development :: Libraries :: Python Modules", 46 ], 47 package_data={"mozlog": ["formatters/html/main.js", "formatters/html/style.css"]}, 48 entry_points={"console_scripts": ["structlog = mozlog.scripts:main"]}, 49 python_requires=">=3.8", 50 )