We want to use this location for files to be shared between
the cephadm binary and cephadm mgr module so it must be included
as part of the zipapp
Signed-off-by: Adam King <adking@redhat.com>
mdir.mkdir(parents=True, exist_ok=True)
(mdir / "__init__.py").touch(exist_ok=True)
versioning_vars = config.cli_args.version_vars
+ shutil.copytree(
+ "../python-common/ceph", appdir / "ceph"
+ )
if versioning_vars:
generate_version_file(versioning_vars, mdir / "version.py")
if dinfo: