return Extension('test_mysqlclient', ['test/test_mysqlclient.c'],
    include_dirs=include_dirs, library_dirs=libraries, extra_link_args=
    linkers, extra_compile_args=extra_compile_args)
setup(name='python-project', version='1.0', description='Python Project',
    classifiers=['Development Status :: 5 - Production/Stable',
    'Environment :: Console', 'Intended Audience :: Developers',
    'License :: OSI Approved :: MIT License',
    'Operating System :: OS Independent',
    'Programming Language :: Python :: 2.7', 'Natural Language :: English'],
    keywords='mysql python project', author='Ozgur Vatansever', url=
    'http://github.com/ozgur/python-project/', license='MIT', packages=[
    'some_project'], ext_modules=[mysql_test_extension()])
Как обрабатывать расширения C для приложений Python с помощью pip?