From 12b6a255596ee3a365855b98d3a42cab74bad160 Mon Sep 17 00:00:00 2001 From: AndrewAnnex Date: Tue, 17 Apr 2018 21:27:13 -0400 Subject: [PATCH] moved a thing --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 5f56b9a9..029fb745 100644 --- a/setup.py +++ b/setup.py @@ -86,6 +86,7 @@ def check_for_spice(): message = 'Unable to find CSPICE at {0}. Exiting'.format(cspice_dir) sys.exit(message) return True + return False @staticmethod def unpack_cspice(): @@ -250,9 +251,10 @@ def run(self): from wheel.bdist_wheel import bdist_wheel print("Wheel is Present") class _bdist_wheel(bdist_wheel): - def __init__(self, dist): - super().__init__(dist) + + def initialize_options(self): Install_C_Spice.get_cspice() + bdist_wheel.initialize_options(self) def finalize_options(self): bdist_wheel.finalize_options(self)