New submission from STINNER Victor <vstin...@python.org>:

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.

----------
components: Unicode
messages: 382821
nosy: ezio.melotti, vstinner
priority: normal
severity: normal
status: open
title: freeze.py doesn't support sys.platlibdir different than lib nor multiarch
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42613>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to