if dir_count == 1 and file_count == 0:
// When this deprecation finishes, we should remove symlinking of directories into the
// bundle (which implicitly includes their contents), and instead create them using mkdir.
spec = os.path.relpath(bundle.filemap.keys()[0], get_buildroot())
deprecated_conditional(
lambda: True,
"1.5.0.dev0",
"default recursive inclusion of files in directory",
"""The bundle filespec `{spec}` corresponds to exactly one directory: if you"d like to """
"""continue to recursively include directory contents in future versions, please switch """
"""to a recursive glob like `{fixed_spec}`.""".format(
spec=spec,
fixed_spec=os.path.join(spec, "**", "*"),
)
)