Commit b95bc0d1 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

build: pycriu -- Move into lib/py

As was intended from the scratch.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 8e506041
...@@ -22,7 +22,7 @@ PHONY += lib-c ...@@ -22,7 +22,7 @@ PHONY += lib-c
# Python bindings. # Python bindings.
lib-py: lib-py:
$(call msg-gen, $@) $(call msg-gen, $@)
$(Q) $(MAKE) -C pycriu/images all $(Q) $(MAKE) -C py/images all
PHONY += lib-py PHONY += lib-py
clean: clean:
...@@ -31,7 +31,7 @@ clean: ...@@ -31,7 +31,7 @@ clean:
$(Q) $(RM) c/$(CRIU_SO) $(Q) $(RM) c/$(CRIU_SO)
$(Q) $(RM) c/criu.pc $(Q) $(RM) c/criu.pc
$(call msg-clean, lib-py) $(call msg-clean, lib-py)
$(Q) $(MAKE) -C pycriu/images $@ $(Q) $(MAKE) -C py/images $@
all: $(PHONY) all: $(PHONY)
@true @true
......
...@@ -6,6 +6,7 @@ setup(name = "crit", ...@@ -6,6 +6,7 @@ setup(name = "crit",
author = "CRIU team", author = "CRIU team",
author_email = "criu@openvz.org", author_email = "criu@openvz.org",
url = "https://github.com/xemul/criu", url = "https://github.com/xemul/criu",
package_dir = {'pycriu': 'py'},
packages = ["pycriu", "pycriu.images"], packages = ["pycriu", "pycriu.images"],
scripts = ["../crit/crit"] scripts = ["../crit/crit"]
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment