build: pycriu -- Move into lib/py

As was intended from the scratch.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Cyrill Gorcunov 2016-02-18 17:58:00 +03:00 committed by Pavel Emelyanov
parent 8e506041ef
commit b95bc0d1eb
11 changed files with 3 additions and 2 deletions

View file

@ -22,7 +22,7 @@ PHONY += lib-c
# Python bindings.
lib-py:
$(call msg-gen, $@)
$(Q) $(MAKE) -C pycriu/images all
$(Q) $(MAKE) -C py/images all
PHONY += lib-py
clean:
@ -31,7 +31,7 @@ clean:
$(Q) $(RM) c/$(CRIU_SO)
$(Q) $(RM) c/criu.pc
$(call msg-clean, lib-py)
$(Q) $(MAKE) -C pycriu/images $@
$(Q) $(MAKE) -C py/images $@
all: $(PHONY)
@true

View file

@ -6,6 +6,7 @@ setup(name = "crit",
author = "CRIU team",
author_email = "criu@openvz.org",
url = "https://github.com/xemul/criu",
package_dir = {'pycriu': 'py'},
packages = ["pycriu", "pycriu.images"],
scripts = ["../crit/crit"]
)