* Re: Python location files moved from site-packages to dist-packages
[not found] <4886a0e5-d8d8-1880-ee86-48583a91d4f5@ipfire.org>
@ 2022-10-01 11:57 ` Michael Tremer
2022-10-02 9:14 ` Peter Müller
0 siblings, 1 reply; 2+ messages in thread
From: Michael Tremer @ 2022-10-01 11:57 UTC (permalink / raw)
To: location
[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]
Hello,
Oh, that is probably a change that I accidentally committed.
On Debian, the Python modules are residing in a different place (god knows why) and to test things on my development machine, I occasionally change the path.
I fixed it here, and you can just grab the patch:
https://git.ipfire.org/?p=location/libloc.git;a=commitdiff;h=bed4777fc99494854335a90c5a6e7fc2e30edf4d
-Michael
> On 30 Sep 2022, at 16:43, Peter Müller <peter.mueller(a)ipfire.org> wrote:
>
> Hello Michael,
>
> trying to update to libloc 0.9.15 in IPFire 2.x, I just noticed that all the Python
> files are now in /usr/lib/python3/dist-packages/location/, not /usr/lib/python3/site-packages/location/,
> where they used to be before.
>
> Thanks to that, "location" crashes with a ModuleNotFoundError. Adding
>
>> sys.path.append("/usr/lib/python3/dist-packages/")
>
> before the location import statements solves this, but is probably not a fix we
> strive for. :-)
>
> Am I overlooking something (such as changes to the LFS file)?
>
> Thanks, and best regards,
> Peter Müller
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Python location files moved from site-packages to dist-packages
2022-10-01 11:57 ` Python location files moved from site-packages to dist-packages Michael Tremer
@ 2022-10-02 9:14 ` Peter Müller
0 siblings, 0 replies; 2+ messages in thread
From: Peter Müller @ 2022-10-02 9:14 UTC (permalink / raw)
To: location
[-- Attachment #1: Type: text/plain, Size: 1399 bytes --]
Hello Michael,
thanks for your reply.
> Hello,
>
> Oh, that is probably a change that I accidentally committed.
>
> On Debian, the Python modules are residing in a different place (god knows why) and to test things on my development machine, I occasionally change the path.
>
> I fixed it here, and you can just grab the patch:
>
> https://git.ipfire.org/?p=location/libloc.git;a=commitdiff;h=bed4777fc99494854335a90c5a6e7fc2e30edf4d
Ah, I see. Incorporated the patch, and running development. If successful,
I'll submit an update patch for libloc in IPFire 2.x to the development
mailing list in due course.
All the best,
Peter Müller
>
> -Michael
>
>> On 30 Sep 2022, at 16:43, Peter Müller <peter.mueller(a)ipfire.org> wrote:
>>
>> Hello Michael,
>>
>> trying to update to libloc 0.9.15 in IPFire 2.x, I just noticed that all the Python
>> files are now in /usr/lib/python3/dist-packages/location/, not /usr/lib/python3/site-packages/location/,
>> where they used to be before.
>>
>> Thanks to that, "location" crashes with a ModuleNotFoundError. Adding
>>
>>> sys.path.append("/usr/lib/python3/dist-packages/")
>>
>> before the location import statements solves this, but is probably not a fix we
>> strive for. :-)
>>
>> Am I overlooking something (such as changes to the LFS file)?
>>
>> Thanks, and best regards,
>> Peter Müller
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-02 9:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <4886a0e5-d8d8-1880-ee86-48583a91d4f5@ipfire.org>
2022-10-01 11:57 ` Python location files moved from site-packages to dist-packages Michael Tremer
2022-10-02 9:14 ` Peter Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox