'Get the directory name for a particular package.  This is the
directory that contains its package.py file.'

@_autospec
def dirname_for_package_name(self, spec):

    self._check_namespace(spec)
    return join_path(self.packages_path, spec.name)
