forked from OvalMoney/celery-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (31 loc) · 1.21 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import io
from setuptools import setup
from setuptools_rust import Binding, RustExtension
long_description = "See https://github.com/OvalMoney/celery-exporter"
with io.open("README.md", encoding="utf-8") as fp:
long_description = fp.read()
setup(
name="celery-exporter",
description="Prometheus metrics exporter for Celery",
long_description=long_description,
long_description_content_type="text/markdown",
version="1.4.0",
author="Fabio Todaro, Nicola Martino",
license="MIT",
author_email="fbregist@gmail.com, mroci@bruttocarattere.org",
url="https://github.com/OvalMoney/celery-exporter",
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: OS Independent",
],
rust_extensions=[RustExtension("celery_state", binding=Binding.PyO3, debug=False)],
packages=["celery_exporter"],
install_requires=["click>=7", "celery>=4", "prometheus_client>=0.0.20"],
entry_points={
"console_scripts": ["celery-exporter = celery_exporter.__main__:main"]
},
)