diff --git a/README.md b/README.md index 34f4fe9..8f95666 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ # Kassandra -# Kassandra - -Kassandra is a matrix bot receiving alert from [alermanager](https://www.prometheus.io/docs/alerting/latest/alertmanager/) end send them to a [matrix](matrix.org/) room. \ No newline at end of file +Kassandra is a matrix bot receiving alert from [alermanager](https://www.prometheus.io/docs/alerting/latest/alertmanager/) end send them to a [matrix](matrix.org/) room. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..99b7437 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools>=42.0", "wheel"] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..dbb834d --- /dev/null +++ b/setup.cfg @@ -0,0 +1,18 @@ +[metadata] +name = kassandra +author = Jean-Marie 'Histausse' Mineau +author_email = histausse@protonmail +description = A bot sending alert from alertmanager to matrix +long_description = file:README.md +long_description_content_type = text/markdown +url = https://gitea.auro.re/histausse/kassandra + +[options] +packages = kassandra +python_requires = >=3.9.2 +package_dir = =src +install_requires = + matrix-bot @ git+https://gitea.auro.re/histausse/matrix-bot.git + +[options.package_data] +matrix_bot = py.typed diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..f840852 --- /dev/null +++ b/setup.py @@ -0,0 +1,5 @@ +from setuptools import setup + +if __name__ == "__main__": + setup() + diff --git a/src/kassandra/__init__.py b/src/kassandra/__init__.py new file mode 100644 index 0000000..e69de29