From cd1461c66ddc58877865292354f8cb4e555d8f6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20BERSAC?= Date: Mon, 11 Jul 2022 15:02:05 +0200 Subject: [PATCH 1/2] Move wheel as dev dependency --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 37fae39..7789180 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,6 @@ setup( keywords="patroni nagios check", python_requires=">=3.6", install_requires=[ - "wheel", "attrs >= 17, !=21.1", "urllib3 >= 1.26.6", "nagiosplugin >= 1.3.2", @@ -46,6 +45,7 @@ setup( ], extras_require={ "dev": [ + "wheel", "black", "check-manifest", "flake8", From 0f511dc5cfde1725872def0ebe67107affeea3bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20BERSAC?= Date: Mon, 11 Jul 2022 15:02:47 +0200 Subject: [PATCH 2/2] Hard code python package Avoid embedding other package like tests. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7789180..f8b91f6 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setup( version=get_version(), author="Dalibo", author_email="contact@dalibo.com", - packages=find_packages("."), + packages=find_packages(include=['check_patroni*']), include_package_data=True, url="https://github.com/dalibo/check_patroni", license="PostgreSQL",