Python build: copy files instead of creating link (#1989)
authorMauricio Vásquez <mauriciovasquezbernal@gmail.com>
Thu, 27 Sep 2018 05:15:34 +0000 (00:15 -0500)
committeryonghong-song <ys114321@gmail.com>
Thu, 27 Sep 2018 05:15:34 +0000 (22:15 -0700)
commitf138fea5a9ab279b7347fa6acfd2f53777068b27
tree80954a0952aabc68ed3e03959721fd231aa1d79c
parent27e7aeab5d7b9f0f4259fb0f996274af0521243f
Python build: copy files instead of creating link (#1989)

After https://github.com/iovisor/bcc/pull/1826 version.py is generated
by cmake in order to have the __version__ define in the module. The
previous approach of installing the python module created a link between the
src and the "build" folder, hence the version.py was actually created in the
scr folder, this caused some git noise.

This comit solves that problem by copying files instead of creating a link,
then the version.py file is only created in the "build" dir.

Signed-off-by: Mauricio Vasquez B <mauriciovasquezbernal@gmail.com>
src/python/CMakeLists.txt
tests/wrapper.sh.in