| |
@@ -46,6 +46,13 @@
|
| |
'unittest2'
|
| |
]
|
| |
|
| |
+ if 'RPM_BUILD_ROOT' in os.environ:
|
| |
+ # we are in rpm package and we cannot list koji and rpm-py-installer
|
| |
+ # because of https://bugzilla.redhat.com/show_bug.cgi?id=1579367
|
| |
+ install_requires = [r for r in install_requires
|
| |
+ if not r.startswith('koji')
|
| |
+ and not r.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()
|
| |
See https://bugzilla.redhat.com/show_bug.cgi?id=1579367