Skip to content
Snippets Groups Projects
  • Nikolaj Sjujskij's avatar
    f4bc0b9e
    building: build inotify for sys.platform='linux*' · f4bc0b9e
    Nikolaj Sjujskij authored
    If Python interpreter was built under Linux 3.x kernel, it reports
    sys.platform to be 'linux3' (it is fixed for Python 3, but not for 2.x).
    This cancels building inotify extension, which was built only for 'linux2'
    platform. Improved test checks if sys.platform begins with 'linux', and together
    with test for kernel version to be greater than 2.6 it seems to cover all known
    cases.
    f4bc0b9e
    History
    building: build inotify for sys.platform='linux*'
    Nikolaj Sjujskij authored
    If Python interpreter was built under Linux 3.x kernel, it reports
    sys.platform to be 'linux3' (it is fixed for Python 3, but not for 2.x).
    This cancels building inotify extension, which was built only for 'linux2'
    platform. Improved test checks if sys.platform begins with 'linux', and together
    with test for kernel version to be greater than 2.6 it seems to cover all known
    cases.