From 5d86e1b23189442026dbcb8fa4aef5710654c376 Mon Sep 17 00:00:00 2001 From: Ondrej Nosek Date: Jan 08 2019 13:51:15 +0000 Subject: Remove koji and rpm-py-installer from requires Fix for bug 1579367 Due to https://pagure.io/koji/issue/912, python[23]-koji package does not have egginfo. rpm-py-installer is required as a proxy to install RPM python binding library, so rpm is the actual requirement that must be present in the requires.txt. But, rpkg has to work in all active Fedora and EPEL releases, and there is only old rpm-python package in EL6 and 7, so just simply to remove rpm-py-installer for now. Resolves: rhbz#1579367 Relates: https://pagure.io/koji/issue/912 Signed-off-by: Ondrej Nosek --- diff --git a/setup.py b/setup.py index ce86b0b..4490712 100755 --- a/setup.py +++ b/setup.py @@ -50,6 +50,11 @@ else: 'PyGObject', ] +install_requires = [ + item for item in install_requires + if not item.startswith('koji') and not item.startswith('rpm-py-installer') +] + readme_rst = os.path.join(setup_py_path, 'README.rst') with open(readme_rst, 'r') as readme: long_description = readme.read().rstrip()