diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2022-05-14 02:43:09 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2022-05-14 02:43:09 -0400 |
| commit | 0b5ece59278f50c471e67615d241de682dcf81dd (patch) | |
| tree | 2a76c4ad5da50035438415c397d0bba61d750408 /scripts | |
| parent | 73fe0f7024e8f46e051a5cd05c84614c942b5d83 (diff) | |
require py3 for install_api script
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/install_api.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/install_api.py b/scripts/install_api.py index cc054034..efa07566 100755 --- a/scripts/install_api.py +++ b/scripts/install_api.py @@ -8,6 +8,10 @@ import os import sys from site import check_enableusersite +if sys.version_info[0] < 3: + print("Python 3 required") + sys.exit(1) + # Handle both normal environments and virtualenvs try: from site import getusersitepackages, getsitepackages |
