| Summary: | sigul is installed in /usr/share/sigul/ instead of python sitelib | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Miller <admiller> |
| Component: | sigul | Assignee: | Patrick Uiterwijk <puiterwijk> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | admiller, mitr, walters |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-02 16:25:43 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Adam Miller
2016-01-21 20:04:26 UTC
It's a common pattern for applications that happen to be written in Python, but aren't intended to actually be shared libaries. Thanks for your report.
sigul is not a library designed to be called from other applications, so AFAICT it makes no sense for it to be placed in a directory where other applications search for imports. There is not benefit to it, and there is a trivial cost of one more directory entry in that frequently-used directory, and a bit bigger cost of other people thinking that sigul might be expected to be used as a library.
These .py files are an internal architecture-independent aspect of sigul’s implementation which have nothing to do with Python’s modules in the default import path; /usr/share seems is the default place for internal architecture-independent files per FHS.
Compare e.g. /usr/share/{authconfig,hplip,rpmlint,system-config-printer,yum-cli}/virt-manager.
Can you please cite the exact part of the guidelines which requires placement in sitelib? I couldn't find it with a quick search for “sitelib”.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. |