This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author FFY00
Recipients Arfrever, FFY00, brett.cannon, christian.heimes, doko, dstufft, eric.araujo, frenzy, hugovk, ionelmc, jaraco, lukasz.langa, methane, ncoghlan, ned.deily, p-ganssle, pablogsal, paul.moore, petr.viktorin, steve.dower, vstinner, xtreak
Date 2021-05-05.16:34:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620232455.39.0.801485184463.issue41282@roundup.psfhosted.org>
In-reply-to
Content
If you are relying on the value of distutils.sysconfig.get_python_lib() as you shown in your system, you probably don't want to. That directory (dist-packages) should be for Debian provided packages only, so moving to sysconfig.get_path() would be a good thing, as it has the correct value for user installed packages on your system.

But anyway, there have been introduced mechanisms that should allow distros to deal with these issues. The goal is to make it so that distros can officially customize such details and not have to rely on heavy patching.
History
Date User Action Args
2021-05-05 16:34:15FFY00setrecipients: + FFY00, brett.cannon, doko, paul.moore, jaraco, ncoghlan, vstinner, christian.heimes, ned.deily, eric.araujo, Arfrever, ionelmc, petr.viktorin, methane, lukasz.langa, steve.dower, dstufft, p-ganssle, frenzy, pablogsal, hugovk, xtreak
2021-05-05 16:34:15FFY00setmessageid: <1620232455.39.0.801485184463.issue41282@roundup.psfhosted.org>
2021-05-05 16:34:15FFY00linkissue41282 messages
2021-05-05 16:34:15FFY00create