DistUpgradeFetcherKDE.py and muon

Aleix Pol aleixpol at kde.org
Mon Feb 11 13:29:01 UTC 2013


On Mon, Feb 11, 2013 at 2:25 PM, Harald Sitter <sitter.harald at gmail.com>wrote:

> On Mon, Feb 11, 2013 at 2:04 PM, Aleix Pol <aleixpol at kde.org> wrote:
>
>> Hi Kubunt'ers,
>> I've been seeing today that:
>> Couldn't find the
>> /usr/share/pyshared/UpdateManager/DistUpgradeFetcherKDE.py file
>>
>> After investigating a little (thank you apt-file) I saw that now the file
>> is in:
>> /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py
>>
>> Could anybody tell me a better way to find that file rather than having
>> the full path like we had so far?
>> Or maybe I'm just missing something...?
>>
>
> I don't think you can get the old pyshared path, but the new lib based
> path should be detectable by evaluating the sys.path variable in python.
>
> python -c  "import sys; print sys.path"
>
> not really nice though, I reckon it would be possible to simply have it
> linked into a more stable path (usr/bin or usr/libexec or something).
> Though I should note that I don't see the path changing until python4, so I
> wonder whether that is really worthwhile ;)
>
> HS
>
> --
> kubuntu-devel mailing list
> kubuntu-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel
>
>
I can make it configurable by the packager as well...

BTW, seems like we'll have to backport this change.

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20130211/67f8e9a7/attachment.html>


More information about the kubuntu-devel mailing list