ext_modules = [Extension('myext', ['myext.pyx', '../stuff.c'], libraries=[
    'ssl', 'crypto'])]
setup(name='myext', cmdclass={'build_ext': build_ext}, ext_modules=ext_modules)
How do I wrap a C++ class with Cython?