<div>Hi Anders<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">


I can't find an easy way to disable RedHat, Debian and Slackware support at<br></blockquote></blockquote><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
build-time.  Since Smart demands the RPM Python module, I'm forced to<br>
include the 'rpm' package as a dependency.  It's nonsensical that RPM should<br>
be required by a package management GUI on Arch Linux systems.<br>
<br>
Can you please modify the 'Makefile' to include functions like<br>
"disable-redhat" or "install-arch"?  This would allow users to install only<br>
the channels and backends that they plan to use on their systems.  Of<br>
course, you'd need to adjust the python code to allow for this modularised<br>
approach.<br>
</blockquote></blockquote>
<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><br></blockquote></div><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">







I didn't see any post to the mailing list, but the easiest way<br>

</blockquote><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
to avoid the python-rpm requirement is to either patch out the<br>
inclusion of the rpm module or avoid loading it through config<br>
(e.g. set detect-sys-channels to "arch", in your distro.py ?)<br>
<br>
The smart Makefile doesn't do much besides call setup.py, and<br>
python distutils isn't as much for customization as ./configure.<br>
But smart itself doesn't demand installing channels/backends,<br>
or using the RPM Python module, even if it does it by default...<font color="#888888"></font><br></blockquote></div><br>I just set "detect_sys_channels = "arch"" in "smart/plugins/detectsys.py", but I'm still getting that shitty "'rpm' python module is not available" error message and 'smart' refuses to continue.  I just removed "import rpm" from "smart/backends/rpm/base.py", but doing so only caused other Python errors at runtime.<br>




<br>Anyway, you shouldn't expect me to search through the code.  This information needs to be clearly detailed in the 'README' file, or potential users will be turned away.  If you can't be bothered implementing this disabling feature properly, please at least take the time to explain exactly what I need to 'sed' out.  Remember that this is for the benefit of other Arch Linux users, as I am the <a href="http://aur.archlinux.org/packages.php?ID=24655" target="_blank">'smart' package</a> maintainer in the AUR.<br>









<br>