|
3 | 3 | import sys |
4 | 4 | import subprocess |
5 | 5 | import site |
6 | | -print(site.getsitepackages()) |
7 | | -print(site.getusersitepackages()) |
8 | 6 |
|
9 | 7 | armv6l = bool(platform.machine() == 'armv6l') |
10 | 8 | armv7l = bool(platform.machine() == 'armv7l') |
|
14 | 12 | else: |
15 | 13 | osx105 = False |
16 | 14 |
|
17 | | -print('sys.version:', sys.version) |
18 | | -print('sys.platform:', sys.platform) |
19 | | -print('tuple.__itemsize__:', tuple.__itemsize__) |
| 15 | +print(f"{sys.version=}") |
| 16 | +print(f"{sys.platform=}") |
| 17 | +print(f"{tuple.__itemsize__=}") |
20 | 18 | if sys.platform == 'win32': |
21 | 19 | assert 'MSC v.19' in sys.version |
22 | 20 | if hasattr(sys, "abiflags"): |
23 | | - print('sys.abiflags', sys.abiflags) |
24 | | -print('sys.maxunicode:', sys.maxunicode) |
25 | | -print('platform.architecture:', platform.architecture()) |
26 | | -print('platform.python_version:', platform.python_version()) |
| 21 | + print(f"{sys.abiflags=}") |
| 22 | +print(f"{sys.maxunicode=}") |
| 23 | +print(f"{platform.architecture=}") |
| 24 | +print(f"{platform.python_version=}") |
| 25 | +print(f"{site.getsitepackages()=}") |
| 26 | +print(f"{site.getusersitepackages()=}") |
27 | 27 |
|
28 | 28 | import _bisect |
29 | 29 | import _codecs_cn |
|
0 commit comments