summaryrefslogtreecommitdiff
path: root/src/pip/_vendor/pygments/__main__.py
blob: 90cafd93426f6fb2e8ad57b140b7ae163a67a4a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""
    pygments.__main__
    ~~~~~~~~~~~~~~~~~

    Main entry point for ``python -m pygments``.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
"""

import sys
from pip._vendor.pygments.cmdline import main

try:
    sys.exit(main(sys.argv))
except KeyboardInterrupt:
    sys.exit(1)