From 1b91cff9849acbabe15fc5ede4e857547dba0680 Mon Sep 17 00:00:00 2001 From: John Schoewe Date: Wed, 8 Nov 2023 14:45:17 -0500 Subject: [PATCH 1/2] Added dependency to install with module --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index e7fc218..159b366 100644 --- a/setup.py +++ b/setup.py @@ -12,6 +12,7 @@ author_email='alexey.dubkov@gmail.com', test_suite='tests', packages=['pyzabbix', 'zabbix'], + install_requires=['packaging'], tests_require=['mock'], classifiers=[ 'Development Status :: 5 - Production/Stable', From 3aa24dee91b6da0cd50aa16f83796792db46e652 Mon Sep 17 00:00:00 2001 From: John Schoewe Date: Wed, 8 Nov 2023 15:12:29 -0500 Subject: [PATCH 2/2] Testing py-zabbix package install --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 159b366..b74d867 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,6 @@ #!/usr/bin/env python +import pip +pip.main(['install', 'packaging']) from setuptools import setup from pyzabbix.version import __version__ @@ -12,7 +14,6 @@ author_email='alexey.dubkov@gmail.com', test_suite='tests', packages=['pyzabbix', 'zabbix'], - install_requires=['packaging'], tests_require=['mock'], classifiers=[ 'Development Status :: 5 - Production/Stable',