https://bugzilla.redhat.com/show_bug.cgi?id=2497737



--- Comment #4 from Carl Byington <[email protected]> ---
Upstream solved that by making /usr/bin/dupeguru a symlink to
/usr/share/dupeguru/run.py, so the imports are satisfied by being in the same
directory as the python script. I changed that by installing run.py as
/usr/bin/dupeguru, and adding sys.path.append() - but that should be
sys.path.insert(0,) - will change that in the next update.

All the core.* and other stuff that dupeguru uses via import are strictly
internal to this package, and not usable from other programs. That stuff really
cannot be put in site-packages. See for example
/usr/share/crypto-policies/python/policygenerators/java.py - again private to
some crypto policy thing. See for example ibus-anthy and ibus-anthy-python -
installing python code in /usr/share/ibus-anthy.

I did not realize that the python .pyc files can go in a noarch subpackage as
in ibus-anthy-python. I will change that in the next update.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2497737

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202497737%23c4

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to