SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Are the python-tomli{,-w} packages still necessary? It feels like we had them to have a toml parser for PEP-517 but python-3.11 comes with a toml parser in the standard library (tomllib).
sys.platlibdir
Name of the platform-specific library directory. It is used to build the path of standard library and the paths of installed extension modules.
It is equal to "lib" on most platforms. On Fedora and SuSE, it is equal to "lib64" on 64-bit platforms which gives the following sys.path paths (where X.Y is the Python major.minor version):
/usr/lib64/pythonX.Y/: Standard library (like os.py of the os module)
/usr/lib64/pythonX.Y/lib-dynload/: C extension modules of the standard library (like the errno module, the exact filename is platform specific)
/usr/lib/pythonX.Y/site-packages/ (always use lib, not sys.platlibdir): Third-party modules
/usr/lib64/pythonX.Y/site-packages/: C extension modules of third-party packages
New in version 3.9.
Last edited by USUARIONUEVO; 03-29-2024 at 10:05 PM.
Are the python-tomli{,-w} packages still necessary? It feels like we had them to have a toml parser for PEP-517 but python-3.11 comes with a toml parser in the standard library (tomllib).
shows that anything requiring tomli also has a clause python_version < "3.11" or something similar. Also on tomli GitHub page there's a note:
Quote:
A version of Tomli, the tomllib module, was added to the standard library in Python 3.11 via PEP 680. Tomli continues to provide a backport on PyPI for Python versions where the standard library module is not available and that have not yet reached their end-of-life.
This module provides an interface for parsing TOML (Tom’s Obvious Minimal Language, https://toml.io). This module does not support writing TOML.
See also
The Tomli-W package is a TOML writer that can be used in conjunction with this module, providing a write API familiar to users of the standard library marshal and pickle modules.
There's another one that seems to be not needed any longer - pytz. It was added in this -current cycle for babel, but the babel version we have has this:
Projects using Python 3.9 or later should be using the support now included as part of the standard library, and third party packages work with it such as tzdata. pytz offers no advantages beyond backwards compatibility with code written for earlier versions of Python.
To all people looking for ways to bring Python stuff from /usr/lib back to /usr/lib64 - I believe this is deliberate as Pat already posted here, besides everything's working fine. If you find something broken, please report it here.
To all people looking for ways to bring Python stuff from /usr/lib back to /usr/lib64 - I believe this is deliberate as Pat already posted here, besides everything's working fine. If you find something broken, please report it here.
Hope multilib are agree with this ... /usr/lib is used on x64 machines to have multilib for wine or steam ..or other things.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.