def build_pypackage_basename(self, pytree, base):
        """Build the string representing the parsed package basename.

        :param str pytree: The pytree absolute path.
        :param str pytree: The absolute path of the pytree sub-package of which determine the
            parsed name.
        :rtype: str
        """
        dirname = os.path.dirname(pytree)
        parsed_package_name = base.replace(dirname, '').strip('/')
        return parsed_package_name