from setuptools import setup, Extension from Cython.Build import cythonize extensions = [ Extension("sphereproj._project", ["sphereproj/_project.pyx", "sphereproj/project_tool.hpp", "sphereproj/openmp.hpp"]) ] setup( ext_modules = cythonize(extensions) )