Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Commit

Permalink
fix packageing, add new cython files
Browse files Browse the repository at this point in the history
  • Loading branch information
lxyu committed Mar 9, 2015
1 parent 57f57b9 commit d24912d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit d24912d

Please sign in to comment.