Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add __main__.py to output basic format and support information #3870

Merged
merged 1 commit into from Jun 19, 2019
Merged

Add __main__.py to output basic format and support information #3870

merged 1 commit into from Jun 19, 2019

Commits on May 28, 2019

  1. Add __main__.py to output basic format and support information

    To help debug and show supported formats, users can run:
    
        $ python -m PIL
    
    to get basic format and support information about the installed version
    of Pillow.
    
    The new feature works as follows:
    
        $ python -m PIL
        --------------------------------------------------------------------
        Pillow 6.1.0.dev0
        --------------------------------------------------------------------
        Python modules loaded from .../Pillow/src/PIL
        Binary modules loaded from .../Pillow/src/PIL
        --------------------------------------------------------------------
        Python 3.7.3 (default, May 11 2019, 00:38:04)
               [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)]
        --------------------------------------------------------------------
        --- PIL CORE support ok
        --- TKINTER support ok
        --- FREETYPE2 support ok
        --- LITTLECMS2 support ok
        --- WEBP support ok
        --- WEBP Transparency support ok
        --- WEBPMUX support ok
        --- WEBP Animation support ok
        --- JPEG support ok
        --- OPENJPEG (JPEG2000) support ok
        --- ZLIB (PNG/ZIP) support ok
        --- LIBTIFF support ok
        --- RAQM (Bidirectional Text) support ok
        --------------------------------------------------------------------
        BLP
        Extensions: .blp
        Features: open
        --------------------------------------------------------------------
        BMP image/bmp
        Extensions: .bmp
        Features: open, save
        --------------------------------------------------------------------
        BUFR
        Extensions: .bufr
        Features: open, save
        --------------------------------------------------------------------
        …
    jdufresne committed May 28, 2019
    Copy the full SHA
    1008644 View commit details
    Browse the repository at this point in the history