diff -ru openTSNE-1.0.0.orig/setup.py openTSNE-1.0.0/setup.py --- openTSNE-1.0.0.orig/setup.py 2023-08-11 13:36:22.222050683 +0200 +++ openTSNE-1.0.0/setup.py 2023-08-11 13:36:44.962034085 +0200 @@ -55,17 +55,10 @@ writer.write(body, resources, nb_name) -class get_numpy_include: - """Helper class to determine the numpy include path - - The purpose of this class is to postpone importing numpy until it is - actually installed, so that the ``get_include()`` method can be invoked. - - """ - def __str__(self): - import numpy - return numpy.get_include() - +def get_numpy_include(): + """get the numpy includes without wrapper class""" + import numpy + return numpy.get_include() def get_include_dirs(): """Get include dirs for the compiler."""