Re: Calling all Apple Mac users.
Cédric Krier via Roundup-users <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Organization | B2CK |
| Message-ID | <YaXsLR5/ewlUwHeN@kei> |
Hi,
On 2021-11-29 21:27, John P. Rouillard wrote:
> However not all platform library directories have a component called
> lib. Sometimes it's called lib64.
>
> So my question to Mac users is if you run this:
>
> from sysconfig import get_path
> print(get_path('platlib'))
>
> is there a directory called 'share' that is the directory under which
> man pages are located.
>
> E.G. On ubuntu
>
> % python -c 'from sysconfig import get_path; print(get_path("platlib"))'
> /usr/local/lib/python2.7/dist-packages
>
> and /usr/local/share/man exists.
On Darwin Kernel Version 18.7.0 root:xnu-4903.278.70~1/RELEASE_X86_64 x86_64, it gives:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
and the man directory is /usr/share/man/
On Darwin Kernel Version 20.6.0 root:xnu-7195.141.2~5/RELEASE_ARM64_T8101 arm64, it gives also:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
and man directory is under /usr/share/man
--
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: https://www.b2ck.com/
_______________________________________________
Roundup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/roundup-users