diff --git a/MANIFEST.in b/MANIFEST.in index 5f796cf..065c707 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ include README.rst CHANGES.rst include thriftpy/protocol/cybin/*.pyx thriftpy/protocol/cybin/*.c thriftpy/protocol/cybin/*.h +include thriftpy/transport/*/*.pyx thriftpy/transport/*/*.c include thriftpy/transport/*.pyx thriftpy/transport/*.pxd thriftpy/transport/*.c diff --git a/Makefile b/Makefile index 3d7795c..0faffd4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ build_ext: rm -vf thriftpy/protocol/cybin/*.c thriftpy/protocol/*.so rm -vf thriftpy/transport/*.c thriftpy/transport/*.so + rm -vf thriftpy/transport/*/*.c thriftpy/transport/*/*.so rm -vf dist/* python setup.py build_ext diff --git a/setup.py b/setup.py index 442214f..10b38a4 100644 --- a/setup.py +++ b/setup.py @@ -46,6 +46,7 @@ # only build ext in CPython if not PYPY: if CYTHON: + cythonize("thriftpy/transport/cybase.pyx") cythonize("thriftpy/transport/**/*.pyx") cythonize("thriftpy/protocol/cybin/cybin.pyx")