| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,7 +10,6 @@ | |||
| 10 | 10 | import fnmatch | |
| 11 | 11 | import glob | |
| 12 | 12 | import os | |
| 13 | - import platform | ||
| 14 | 13 | import subprocess | |
| 15 | 14 | import sys | |
| 16 | 15 | import sysconfig | |
@@ -24,8 +23,9 @@ | |||
| 24 | 23 | CONFIG = "Release" # Release or Debug | |
| 25 | 24 | VERBOSITY = "minimal" # quiet, minimal, normal, detailed, diagnostic | |
| 26 | 25 | ||
| 26 | + is_64bits = sys.maxsize > 2**32 | ||
| 27 | 27 | DEVTOOLS = "MsDev" if sys.platform == "win32" else "Mono" | |
| 28 | - ARCH = "x64" if platform.architecture()[0] == "64bit" else "x86" | ||
| 28 | + ARCH = "x64" if is_64bits else "x86" | ||
| 29 | 29 | PY_MAJOR = sys.version_info[0] | |
| 30 | 30 | PY_MINOR = sys.version_info[1] | |
| 31 | 31 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments