Blame SOURCES/setup.patch

7d013c
diff -up pyghmi-1.5.14/.orig.orig pyghmi-1.5.14/.orig
7d013c
diff -up pyghmi-1.5.14/setup.py.tmpl.orig pyghmi-1.5.14/setup.py.tmpl
7d013c
--- pyghmi-1.5.14/setup.py.tmpl.orig	2021-08-06 11:44:02.618240604 +0200
7d013c
+++ pyghmi-1.5.14/setup.py.tmpl	2021-08-06 11:44:35.586675599 +0200
7d013c
@@ -26,6 +26,15 @@ setuptools.setup(
7d013c
     packages=['pyghmi', 'pyghmi.util', 'pyghmi.ipmi', 'pyghmi.cmd',
7d013c
               'pyghmi.redfish', 'pyghmi.ipmi.private', 'pyghmi.ipmi.oem',
7d013c
               'pyghmi.ipmi.oem.lenovo', 'pyghmi.redfish.oem',
7d013c
-              'pyghmi.redfish.oem.lenovo'],
7d013c
+              'pyghmi.redfish.oem.lenovo', 'pyghmi.tests'],
7d013c
+    entry_points={
7d013c
+        'console_scripts': [
7d013c
+            'pyghmicons=pyghmi.cmd.pyghmicons:main',
7d013c
+            'pyghmiutil=pyghmi.cmd.pyghmiutil:main',
7d013c
+            'virshbmc=pyghmi.cmd.virshbmc:main',
7d013c
+            'fakebmc=pyghmi.cmd.fakebmc:main',
7d013c
+        ],
7d013c
+    },
7d013c
+
7d013c
     license='Apache License, Version 2.0')
7d013c