from setuptools import setup, find_packages, Extension
from Cython.Distutils import build_ext
ext_modules = [Extension('package.wrapper.wrap', ['package/wrapper/wrap.pyx'])]
setup(name='package', packages=find_packages(), cmdclass={'build_ext':
    build_ext}, ext_modules=ext_modules)
Customize location of .so file generated by Cython