Did I find the right examples for you? yes no

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)
Metadata provider for egg directories

Usage::

    # Development eggs:

    egg_info = "/path/to/PackageName.egg-info"
    base_dir = os.path.dirname(egg_info)
    metadata = PathMetadata(base_dir, egg_info)
    dist_name = os.path.splitext(os.path.basename(egg_info))[0](more...)

src/m/e/merlin-1-1.0/merlin/command/egg_flags.py   merlin(Download)
    def finalize_options(self):
        import os
        from merlin import Distribution, PathMetadata, normalize_path
 
        ei = self.get_finalized_command("egg_info")
        self.dist = Distribution(
            normalize_path(self.egg_path),
            PathMetadata(self.egg_path, os.path.abspath(ei.egg_info)),
            project_name = ei.egg_name
        )

src/m/e/merlin-1-1.0/merlin/command/install_deps.py   merlin(Download)
from merlin.command.easy_install import easy_install
from distutils.util import convert_path
from merlin import Distribution, PathMetadata, normalize_path
from distutils import log
from distutils.errors import *
        self.dist = Distribution(
            normalize_path(self.egg_path),
            PathMetadata(self.egg_path, os.path.abspath(ei.egg_info)),
            project_name = ei.egg_name
        )

src/m/e/merlin-1-1.0/merlin/command/develop.py   merlin(Download)
from merlin.command.easy_install import easy_install
from distutils.util import convert_path
from merlin import Distribution, PathMetadata, normalize_path
from distutils import log
from distutils.errors import *
        self.dist = Distribution(
            normalize_path(self.egg_path),
            PathMetadata(self.egg_path, os.path.abspath(ei.egg_info)),
            project_name = ei.egg_name
        )

src/m/e/merlin-1-1.0/merlin/command/install_scripts.py   merlin(Download)
from distutils.command.install_scripts import install_scripts \
     as _install_scripts
from easy_install import get_script_args, sys_executable
from merlin import Distribution, PathMetadata, ensure_directory
import os
        ei_cmd = self.get_finalized_command("egg_info")       
        dist = Distribution(
            ei_cmd.egg_base, PathMetadata(ei_cmd.egg_base, ei_cmd.egg_info),
            ei_cmd.egg_name, ei_cmd.egg_version,
        )