Lines Matching defs:Distribution
192 # Basic resource access and distribution/entry point discovery
206 'Distribution', 'Requirement', 'EntryPoint',
223 # Distribution "precedence" constants
249 Should be initialized with the installed Distribution and the requested
280 requirements that required the installed Distribution.
291 """A requested distribution was not found"""
293 _template = ("The '{self.req}' distribution was not found "
318 """Distribution doesn't have an "extra feature" of the given name"""
455 """Locate distribution `dist_spec` and run its `script_name` script"""
468 """Return a current distribution object for a Requirement or string"""
473 if not isinstance(dist, Distribution):
474 raise TypeError("Expected string, Requirement, or Distribution", dist)
495 """Does the package's distribution contain the named metadata?"""
618 """True if `dist` is the active distribution for its project"""
622 """Find a distribution matching requirement `req`
624 If there is an active distribution for the requested project, this
626 `req`. But, if there is an active distribution for the project and it
628 If there is no active distribution for the requested project, ``None``
642 both `group` and `name` are yielded (in distribution order).
653 """Locate distribution for `requires` and run `script_name` script"""
685 doesn't already have a distribution in the set, unless `replace=True`.
714 entry or distribution in the working set. `installer`, if supplied,
716 already-installed distribution; it should return a ``Distribution`` or
759 # Find the best distribution and add it to the map
769 # distribution
979 """Is distribution `dist` acceptable for this environment?
981 The distribution must match the platform and python version
1033 """Find distribution best matching `req` and usable on `working_set`
1036 suitable distribution is already active. (This may raise
1038 active in the specified `working_set`.) If a suitable distribution
1039 isn't active, this method returns the newest distribution in the
1041 distribution is found, and `installer` is supplied, then the result of
1060 """Obtain a distribution matching `requirement` (e.g. via download)
1066 to attempt other ways of obtaining a distribution before falling back
1078 """In-place addition of a distribution or environment"""
1079 if isinstance(other, Distribution):
1090 """Add an environment or distribution to an environment"""
1310 """Convert an arbitrary string to a standard distribution name
1822 dist = Distribution(basedir, project_name=dist_name, metadata=metadata)
1828 dist = Distribution.from_filename(egg_path, metadata=metadata)
1859 item and the importer instance, yields ``Distribution`` instances found on
1881 yield Distribution.from_filename(path_item, metadata=metadata)
1895 yield Distribution.from_location(path_item, subitem, submeta)
1939 yield Distribution.from_filename(
2031 yield Distribution.from_location(
2336 raise UnknownExtra("Can't require() without a distribution", self)
2440 class Distribution(object):
2505 # It's not a Distribution, so they are not equal
2572 for this distribution, including the null extra.
2629 """Ensure distribution is importable on `path` (default=sys.path)"""
2640 """Return what this distribution's standard .egg filename should be"""
2678 """Return a ``Requirement`` that matches this distribution exactly"""
2808 """Copy this distribution, substituting in any changed keyword args"""
2820 class EggInfoDistribution(Distribution):
2829 downstream by Distribution and safe_version, so
2839 class DistInfoDistribution(Distribution):
2866 """Recompute this distribution's dependencies."""
2890 '.egg': Distribution,
2967 if isinstance(item, Distribution):