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.15:58:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620230303.02.0.248852657731.issue41282@roundup.psfhosted.org>
In-reply-to
Content
I believe sysconfig.get_path('purelib') and sysconfig.get_path('platlib') should work for you.

> sysconfig.get_path('purelib')
/usr/lib/python3.9/site-packages
> sysconfig.get_path('platlib')
/usr/lib/python3.9/site-packages

(here it's the same path, but it is not guaranteed to be)
History
Date User Action Args
2021-05-05 15:58:23FFY00setrecipients: + 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 15:58:23FFY00setmessageid: <1620230303.02.0.248852657731.issue41282@roundup.psfhosted.org>
2021-05-05 15:58:23FFY00linkissue41282 messages
2021-05-05 15:58:22FFY00create