| 1 | from os import path |
| 2 | |
| 3 | from setuptools import setup |
| 4 | |
| 5 | with open(path.join(path.abspath(path.dirname(__file__)), 'README.md')) as f: |
| 6 | long_description = f.read() |
| 7 | |
| 8 | |
| 9 | setup( |
| 10 | name="prometheus_client", |
| 11 | version="0.21.1", |
| 12 | author="Brian Brazil", |
| 13 | author_email="[email protected]", |
| 14 | description="Python client for the Prometheus monitoring system.", |
| 15 | long_description=long_description, |
| 16 | long_description_content_type='text/markdown', |
| 17 | license="Apache Software License 2.0", |
| 18 | keywords="prometheus monitoring instrumentation client", |
| 19 | url="https://github.com/prometheus/client_python", |
| 20 | packages=[ |
| 21 | 'prometheus_client', |
| 22 | 'prometheus_client.bridge', |
| 23 | 'prometheus_client.openmetrics', |
| 24 | 'prometheus_client.twisted', |
| 25 | ], |
| 26 | package_data={ |
| 27 | 'prometheus_client': ['py.typed'] |
| 28 | }, |
| 29 | extras_require={ |
| 30 | 'twisted': ['twisted'], |
| 31 | }, |
| 32 | test_suite="tests", |
| 33 | python_requires=">=3.8", |
| 34 | classifiers=[ |
| 35 | "Development Status :: 4 - Beta", |
| 36 | "Intended Audience :: Developers", |
| 37 | "Intended Audience :: Information Technology", |
| 38 | "Intended Audience :: System Administrators", |
| 39 | "Programming Language :: Python", |
| 40 | "Programming Language :: Python :: 3", |
| 41 | "Programming Language :: Python :: 3.8", |
| 42 | "Programming Language :: Python :: 3.9", |
| 43 | "Programming Language :: Python :: 3.10", |
| 44 | "Programming Language :: Python :: 3.11", |
| 45 | "Programming Language :: Python :: 3.12", |
| 46 | "Programming Language :: Python :: Implementation :: CPython", |
| 47 | "Programming Language :: Python :: Implementation :: PyPy", |
| 48 | "Topic :: System :: Monitoring", |
| 49 | "License :: OSI Approved :: Apache Software License", |
| 50 | ], |
| 51 | ) |