homepage

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 Arfrever, akitada, andybuckley, barry, belopolsky, carlos.velasco, catalin.iacob, christian.heimes, cstratak, doko, eitan.adler, eric.araujo, hroncok, ivazquez, jafo, jcea, lemburg, matejcik, mcepl, miss-islington, petr.viktorin, pillarsdotnet, piotr.dobrogost, pitrou, tarek, vstinner
Date 2020年02月12日.15:12:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581520331.95.0.93440827256.issue1294959@roundup.psfhosted.org>
In-reply-to
Content
> posix_user:
> 
> * stdlib: '~/.local/lib64/python3.9'
> * platstdlib: '~/.local/lib64/python3.9'
> * platlib: '~/.local/lib64/python3.9/site-packages'
Honestly, I have no idea how posix_user is used.
~/.local/lib64/ directory doesn't exist on my work machine, whereas I'm installed various Python modules and applications.
In practice, ~/.local/lib/ is used on Fedora, even if posix_user scheme uses ~/.local/lib64/. Examples:
* pure Python: ~/.local/lib/python3.7/site-packages/pip/__main__.py
* C extension: ~/.local/lib/python3.7/site-packages/typed_ast/_ast3.cpython-37m-x86_64-linux-gnu.so
So changing posix_user should have no impact on end users.
I also tested a legacy "python3 setup.py install" to install a C extension, it also lands into ~/.local/lib:
~/.local/lib/python3.7/site-packages/test_cext-0.0.0-py3.7-linux-x86_64.egg/test_cext.cpython-37m-x86_64-linux-gnu.so
The setup.py uses setuptools.
Miro:
> Also note that the extension modules have archful suffix, so they will not collide in $HOME, unless they are installed as name.so.
Yeah, it seems like pip install adopted Debian multiarch naming: "x86_64-linux-gnu" triplet in "_ast3.cpython-37m-x86_64-linux-gnu.so" filename.
History
Date User Action Args
2020年02月12日 15:12:12vstinnersetrecipients: + vstinner, lemburg, barry, doko, jafo, jcea, belopolsky, pitrou, christian.heimes, matejcik, tarek, ivazquez, mcepl, eric.araujo, Arfrever, akitada, andybuckley, petr.viktorin, catalin.iacob, piotr.dobrogost, eitan.adler, cstratak, hroncok, miss-islington, pillarsdotnet, carlos.velasco
2020年02月12日 15:12:11vstinnersetmessageid: <1581520331.95.0.93440827256.issue1294959@roundup.psfhosted.org>
2020年02月12日 15:12:11vstinnerlinkissue1294959 messages
2020年02月12日 15:12:11vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /