From 015bb046c6ec48d73e0f8472e890163db05c218f Mon Sep 17 00:00:00 2001 From: pkuliuliu Date: Tue, 1 Jun 2021 10:25:59 +0800 Subject: [PATCH] unify packageing mode --- setup.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/setup.py b/setup.py index d92df61..ae33a24 100644 --- a/setup.py +++ b/setup.py @@ -24,17 +24,6 @@ version = '1.2.0' cur_dir = os.path.dirname(os.path.realpath(__file__)) pkg_dir = os.path.join(cur_dir, 'build') -try: - from wheel.bdist_wheel import bdist_wheel as _bdist_wheel - - - class bdist_wheel(_bdist_wheel): - def finalize_options(self): - _bdist_wheel.finalize_options(self) - self.root_is_pure = False -except ImportError: - bdist_wheel = None - def write_version(file): file.write("__version__ = '{}'\n".format(version)) @@ -122,7 +111,6 @@ setup( cmdclass={ 'egg_info': EggInfo, 'build_py': BuildPy, - 'bdist_wheel': bdist_wheel }, install_requires=[ 'scipy >= 1.5.3',