From 6beb11b31e43c44beddc21b6256ca6bd141a5787 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 2 Oct 2018 18:25:32 -0400 Subject: [PATCH] build universal wheels By default setuptools produces a version-specific wheel file so installation under other versions of Python require extra work at install time. This change turns on "universal" wheel support, so that the wheel file will be marked as supporting both Python 2 and 3. Change-Id: Ib171962cdc87e8550ccb816d8b676df68f690b08 Signed-off-by: Doug Hellmann --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 3e5c663..518fcca 100644 --- a/setup.cfg +++ b/setup.cfg @@ -42,3 +42,6 @@ console_scripts = osprofiler = osprofiler.cmd.shell:main paste.filter_factory = osprofiler = osprofiler.web:WsgiMiddleware.factory + +[wheel] +universal = 1