Did I find the right examples for you? yes no

All Samples(9)  |  Call(4)  |  Derive(0)  |  Import(5)
Wrap an actual or potential sys.path entry w/metadata

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")
        # Make a distribution for the package's source
        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 *
        # Make a distribution for the package's source
        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 *
        # Make a distribution for the package's source
        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,
        )

src/m/e/merlin-1-1.0/merlin/command/bdist_egg.py   merlin(Download)
from distutils.sysconfig import get_python_version, get_python_lib
from distutils import log
from merlin import get_build_platform, Distribution, ensure_directory
from types import CodeType
from merlin.extension import Library