From 891ea8c476cd309b95e53d55a11f715360a1cea1 Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Fri, 9 May 2025 22:42:17 -0400 Subject: [PATCH] Fix Python 2 wheel installs This PR updates `setup.py` to ensure that the built wheels can be installed by both Python 2 and Python 3 versions. Fixes #83. --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index de494a3..b012385 100644 --- a/setup.py +++ b/setup.py @@ -43,4 +43,7 @@ def readme(): tests_require=['nose', 'mock'], scripts=['bin/ad2-sslterm', 'bin/ad2-firmwareupload'], include_package_data=True, - zip_safe=False) + zip_safe=False, + options={ + 'bdist_wheel': {'universal': 1} + })