From 3aa07aa1b04de563a0db06797cf1416d5a8e621a Mon Sep 17 00:00:00 2001 From: Tao He Date: Tue, 11 Aug 2020 03:00:48 +0800 Subject: [PATCH] For for universal packaging [skip ci]. Signed-off-by: Tao He --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index b2c9349..070849d 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,10 @@ def platform_ext(plat): class bdist_wheel_injected(bdist_wheel): + def finalize_options(self): + super(bdist_wheel_injected, self).finalize_options() + self.root_is_pure = True + def run(self): global platform platform = self.plat_name