from setuptools import setup, Extension from Cython.Build import cythonize extensions = [ Extension( "sphereproj._project", [ "ext_src/_project.pyx", ], language="c++" ) ] setup(py_modules=["sphereproj"],ext_modules=cythonize(extensions))