Added print create params
@@ -50,15 +50,22 @@ class CreateRunner(object):
self.printer.print_profile(tools.load(self._profile_abs_path))
with self.printer.foldable_output("conan_create"):
- # TODO: Get uploaded packages with Conan 1.3 from the ret json
- self.printer.print_message("Calling 'conan create'")
name, version, user, channel = self._reference
+ # print_dict
+ # TODO: Get uploaded packages with Conan 1.3 from the ret json
+
# FIXME: chdir Can be removed in 1.3, fixed issue about api changing curdir
with tools.chdir(self._abs_folder):
if self._build_policy:
self._build_policy = [self._build_policy]
# https://github.com/conan-io/conan-package-tools/issues/184
with tools.environment_append({"_CONAN_CREATE_COMMAND_": "1"}):
+ params = {"name": name, "version": version, "user": user,
+ "channel": channel, "build_modes": self._build_policy,
+ "profile_name": self._profile_abs_path}
+ self.printer.print_message("Calling 'conan create'")
+ self.printer.print_dict(params)
+
self._conan_api.create(".", name=name, version=version,
user=user, channel=channel,
build_modes=self._build_policy,
