Miroslav Suchý wrote:
Do we have reason why we have python code in /usr/share/rhn and not in %{python_sitelib}?

Well as the guidelines say, we have our python *modules* (eg: rhnlib) in python_sitelib. I don't really consider our server/client code to be a utility module that belongs to sitelib and as far as I see its placed right in /usr/share/. Of course its before my time this decision was made, but I think its the right one. We should not have code in sitelib unless its a module that could be used generically. Anyway, thats my take. All they have to do is add that path to their PYTHONPATH. I don't think python guidelines enforce all the code to be in python-sitelibs anywhere.

- Prad




-------- Original Message --------
Subject: [Bug 490438] Review Request: rhn-client-tools - Support programs and libraries for Red Hat Network or Spacewalk
Date: Tue, 24 Mar 2009 08:02:28 -0400
From: [email protected]
To: [email protected]
References: <[email protected]>

--- Comment #3 from Nigel Jones <[email protected]>  2009-03-24
....
2. Python module locations

I'm not sure how set in stone this is, but w/ our Python Guidelines, python
modules are prefered to be in %{python_sitelib}/modulename/foo.*
(https://fedoraproject.org/wiki/Packaging/Python#System_Architecture) would
moving these libraries cause any issues with rhn_register etc?




--
--
Pradeep Kilambi
RHN Satellite Engineering
[email protected]
Phone: +1 919 754 4285
RHCE # 805008680430554


_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to