✨ environment: include 64bit flag

This commit is contained in:
Gina Häußge committed 2020-11-02 18:35:37 +01:00
1 parent 95ddb184a0
commit 7d49f20571
1 file changed
+5 -1
+5 -1
View File
@@ -70,7 +70,11 @@ class EnvironmentDetector(object):
return self._cache
def _detect_os(self):
return {"id": get_os(), "platform": sys.platform}
return {
"id": get_os(),
"platform": sys.platform,
"bits": 64 if sys.maxsize > 2 ** 32 else 32,
}
def _detect_python(self):
result = {"version": "unknown", "pip": "unknown"}