--- pygsl-2.3.2/setup.py 2021-12-07 13:05:38.000000000 -0300 +++ pygsl-2.3.2/setup.py.new 2022-04-14 22:17:19.153861777 -0300 @@ -89,8 +89,6 @@ gsldist_path = os.path.join(pygsldir, "gsl_dist") sys.path.insert(0, gsldist_path) -from wheel.bdist_wheel import bdist_wheel as _bdist_wheel - import setuptools import setuptools.command import setuptools.command.install @@ -173,26 +171,6 @@ del t_file -class CustomInstallCommand(setuptools.command.install.install): - def run(self): - # first re-generate GSL wrappers using SWIG - self.run_command('gsl_wrappers') - # then configure - self.run_command('config') - # then install - setuptools.command.install.install.run(self) - #super().run() - -class CustomBdistWheelCommand(_bdist_wheel): - def run(self): - # first re-generate GSL wrappers using SWIG - self.run_command('gsl_wrappers') - # then configure - self.run_command('config') - # then install - _bdist_wheel.run(self) - #super().run() - py_module_names = ['errors', 'statistics.__init__', '_numobj', @@ -270,10 +248,9 @@ ext_package = 'pygsl', ext_modules = exts, headers = headers, - cmdclass = {'bdist_wheel': CustomBdistWheelCommand, + cmdclass = { 'config' : gsl_Config_Path, 'gsl_wrappers': gsl_CodeGenerator.gsl_CodeGenerator, - 'install': CustomInstallCommand, #'build_sphinx': BuildDoc }, install_requires = ['numpy'],