Description of problem: With Fedora 35 and older, installing a Python distutils package with a command line like: python setup.py install --prefix=/foo would result in the expected behavior of the scripts being install in /foo/bin, modules, in /foo/lib, etc. With Fedora 36, using a --prefix=/foo results in everything being installed under /foo/local. Version-Release number of selected component (if applicable): How reproducible: Always, tested with various Python packages. Steps to Reproduce: 1. python setup.py install --prefix=/somewhere
Yes, this is a known thing. It is documented in the Fedora 36 release notes, yet for some reason, the release notes are not online yet. *** This bug has been marked as a duplicate of bug 2026979 ***