]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind: Improvements to Cython build
authorHector Martin <marcan@marcan.st>
Wed, 2 Dec 2015 13:34:41 +0000 (22:34 +0900)
committerHector Martin <marcan@marcan.st>
Wed, 2 Dec 2015 17:59:33 +0000 (02:59 +0900)
commit07ae545fdad0a58f5c208f394e6da5d578a753f5
tree1004777157a028aaf0c20f16585c28c2937c9fe5
parent9cca28a917131ccbfa37258e7768e56a31f313dc
pybind: Improvements to Cython build

- Avoid a silly rebuild at install time by always using src/build explicitly as build dir
- Tell Cython to put rbd.c in the build dir instead of in the source

This should fix a race when librbd gets relinked at the same time as pybind is installed
(since that install was causing a rebuild too).

Signed-off-by: Hector Martin <marcan@marcan.st>
src/pybind/.gitignore
src/pybind/Makefile.am
src/pybind/setup.py