1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
from setuptools import setup, Extension
from Cython.Build import cythonize
setup(
name='httptools',
version='0.0.11',
description='A collection of framework independent HTTP protocol utils.',
classifiers=[
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Environment :: Web Environment',
'Development Status :: 5 - Production/Stable',
],
platforms=['POSIX'],
author='Yury Selivanov',
author_email='yury@magic.io',
license='MIT',
packages=['httptools', 'httptools.parser'],
ext_modules=cythonize([
Extension(
"httptools.parser.parser",
["httptools/parser/parser.pyx"],
libraries=['http_parser']
)
]),
provides=['httptools'],
include_package_data=False
)
|