python2-distro-1.0.2-5.mga6.noarch.rpm


Advertisement

Description

python2-distro - Linux Distribution - a Linux OS platform information API

Distribution: Mageia 6.0
Repository: Mageia Core i586
Package name: python2-distro
Package version: 1.0.2
Package release: 5.mga6
Package architecture: noarch
Package type: rpm
Installed size: 90.50 KB
Download size: 27.72 KB
Official Mirror: distrib-coffee.ipsl.jussieu.fr
The distro (for: Linux Distribution) package provides information about the Linux distribution it runs on, such as a reliable machine-readable ID, or version information. It is a renewed alternative implementation for Python's original platform.linux_distribution function, but it also provides much more functionality. An alternative implementation became necessary because Python 3.5 deprecated this function, and Python 3.7 is expected to remove it altogether. Its predecessor function platform.dist was already deprecated since Python 2.6 and is also expected to be removed in Python 3.7. Still, there are many cases in which access to that information is needed. See Python issue 1322 for more information. Python 2 version.

Alternatives

Provides

  • python-distro == 1.0.2-5.mga6
  • python2-distro == 1.0.2-5.mga6
  • pythonegg(2)(distro) == 1.0.2

    Install Howto

    1. Enable Mageia Core repository on "Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install python2-distro rpm package:
      # urpmi python2-distro

    Files

    • /usr/lib/python2.7/site-packages/distro.py
    • /usr/lib/python2.7/site-packages/distro.pyc
    • /usr/lib/python2.7/site-packages/distro.pyo
    • /usr/lib/python2.7/site-packages/distro-1.0.2-py2.7.egg-info/PKG-INFO
    • /usr/lib/python2.7/site-packages/distro-1.0.2-py2.7.egg-info/SOURCES.txt
    • /usr/lib/python2.7/site-packages/distro-1.0.2-py2.7.egg-info/dependency_links.txt
    • /usr/lib/python2.7/site-packages/distro-1.0.2-py2.7.egg-info/entry_points.txt
    • /usr/lib/python2.7/site-packages/distro-1.0.2-py2.7.egg-info/top_level.txt
    • /usr/share/doc/python2-distro/CHANGES
    • /usr/share/doc/python2-distro/README.md
    • /usr/share/doc/python2-distro/README.rst
    • /usr/share/licenses/python2-distro/LICENSE

    Changelog

    2017-03-16 - ngompa <ngompa> 1.0.2-5.mga6 + Revision: 1093149 - Port to Mageia - imported package python-distro

    Advertisement
    Advertisement