Author vstinner
Recipients Arfrever, miss-islington, ned.deily, vstinner
Date 2020-06-09.14:45:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591713939.32.0.161957588004.issue40684@roundup.psfhosted.org>
In-reply-to
Content
> make install writes into /opt/py39b1/lib/python3.9/lib-dynload/ ("lib")

I tested manually my fix: it works as expected.

Install:

./configure --prefix /opt/py39_lib64 --with-platlibdir=lib64
make
make install

Test:

$ /opt/py39_lib64/bin/python3.9 -m site
sys.path = [
    '/',
    '/opt/py39_lib64/lib64/python39.zip',
    '/opt/py39_lib64/lib64/python3.9',
    '/opt/py39_lib64/lib64/python3.9/lib-dynload',
    '/home/vstinner/.local/lib/python3.9/site-packages',
    '/opt/py39_lib64/lib64/python3.9/site-packages',
]
USER_BASE: '/home/vstinner/.local' (exists)
USER_SITE: '/home/vstinner/.local/lib/python3.9/site-packages' (exists)
ENABLE_USER_SITE: True

$ /opt/py39_lib64/bin/python3.9 
Python 3.9.0b2+ (heads/3.9:6cb24a035c, Jun  9 2020, 16:43:12) 
[GCC 10.1.1 20200507 (Red Hat 10.1.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import _asyncio
>>> _asyncio
<module '_asyncio' from '/opt/py39_lib64/lib64/python3.9/lib-dynload/_asyncio.cpython-39-x86_64-linux-gnu.so'>
History
Date User Action Args
2020-06-09 14:45:39vstinnersetrecipients: + vstinner, ned.deily, Arfrever, miss-islington
2020-06-09 14:45:39vstinnersetmessageid: <1591713939.32.0.161957588004.issue40684@roundup.psfhosted.org>
2020-06-09 14:45:39vstinnerlinkissue40684 messages
2020-06-09 14:45:39vstinnercreate