File: get-pipx.py

package info (click to toggle)
python-pipx 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,776 kB
  • sloc: python: 9,653; makefile: 17; sh: 7
file content (20 lines) | stat: -rwxr-xr-x 343 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python3
import sys


def fail(msg):
    sys.stderr.write(msg + "\n")
    sys.stderr.flush()
    sys.exit(1)


def main():
    fail(
        "This installation method has been deprecated. "
        "See https://github.com/pypa/pipx for current installation "
        "instructions."
    )


if __name__ == "__main__":
    main()