From 156702c5ed9b649396ed1504e9605fca8925a280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20S=C3=A1nchez?= Date: Tue, 7 Jan 2020 15:12:27 +0100 Subject: [PATCH] Set long_description_content_type as it's required now by Pypi --- setup.py | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/setup.py b/setup.py index af5bb0c..a9ac6f0 100644 --- a/setup.py +++ b/setup.py @@ -9,20 +9,21 @@ long_description = file.read() setup( - name = 'prometheus-pgbouncer-exporter', - packages = ['prometheus_pgbouncer_exporter'], - version = '2.0.2', - description = 'Prometheus exporter for PgBouncer', - long_description = long_description, - author = 'Marco Pracucci', - author_email = 'marco@pracucci.com', - url = 'https://github.com/spreaker/prometheus-pgbouncer-exporter', - download_url = 'https://github.com/spreaker/prometheus-pgbouncer-exporter/archive/2.0.1.tar.gz', - keywords = ['prometheus', 'pgbouncer'], - classifiers = [], - python_requires = ' >= 3', - install_requires = ['psycopg2 == 2.7.3.2', 'prometheus_client==0.0.21', 'python-json-logger==0.1.5', 'PyYAML==3.12'], - entry_points = { + name = 'prometheus-pgbouncer-exporter', + packages = ['prometheus_pgbouncer_exporter'], + version = '2.0.2', + description = 'Prometheus exporter for PgBouncer', + long_description = long_description, + long_description_content_type = "text/markdown", + author = 'Marco Pracucci', + author_email = 'marco@pracucci.com', + url = 'https://github.com/spreaker/prometheus-pgbouncer-exporter', + download_url = 'https://github.com/spreaker/prometheus-pgbouncer-exporter/archive/2.0.1.tar.gz', + keywords = ['prometheus', 'pgbouncer'], + classifiers = [], + python_requires = ' >= 3', + install_requires = ['psycopg2 == 2.7.3.2', 'prometheus_client==0.0.21', 'python-json-logger==0.1.5', 'PyYAML==3.12'], + entry_points = { 'console_scripts': [ 'pgbouncer-exporter=prometheus_pgbouncer_exporter.cli:main', ]