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 vstinner
Recipients ezio.melotti, vstinner
Date 2020-12-10.10:01:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607594518.8.0.0823964738983.issue42613@roundup.psfhosted.org>
In-reply-to
Content
Tools/freeze/freeze.py doesn't support config directory using multiarch nor directory using a sys.platlibdir different than "lib". In short, it doesn't work on Fedora 33 which uses:

/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu/

It might be possible to copy/paste the code creating the config-xxx path from Lib/sysconfig.py to Tools/freeze/freeze.py, but I would prefer to reuse code if possible, to make the code more sustainable.

Maybe we can add a private function to get the path to the "config" directory.

Or even a public function.
History
Date User Action Args
2020-12-10 10:01:58vstinnersetrecipients: + vstinner, ezio.melotti
2020-12-10 10:01:58vstinnersetmessageid: <1607594518.8.0.0823964738983.issue42613@roundup.psfhosted.org>
2020-12-10 10:01:58vstinnerlinkissue42613 messages
2020-12-10 10:01:58vstinnercreate