"package_dir": self.package_dir.encode("utf-8"),
"target_name": self.target.name.encode("utf-8"),
"install_requires": [x.encode("utf-8") for x in self.install_requires],
"packages": repr([x.encode("utf-8")for x in self.created_packages]),
"namespace_packages": repr([x.encode("utf-8") for x in self.created_namespace_packages])
}
self.chroot.write(boilerplate.encode("utf8"), os.path.join(self.codegen_root, "setup.py"))