コード例 #1
0
ファイル: command.py プロジェクト: openalea/deploy
    def process_distribution(self, requirement, dist, deps=True, *info):
        """
        Just a way to retrieve the current distribution object.
        """
        ret = old_easy_install.process_distribution(self, requirement, dist,
                                                    deps, *info)
        # save distribution
        self.dist = dist

        return ret
コード例 #2
0
    def process_distribution(self, requirement, dist, deps=True, *info):
        """
        Just a way to retrieve the current distribution object.
        """
        ret = old_easy_install.process_distribution(self, requirement, dist,
                                                    deps, *info)
        # save distribution
        self.dist = dist

        return ret
コード例 #3
0
ファイル: easier_install.py プロジェクト: ih64/XRB-phot
    def process_distribution(self, requirement, dist, deps=True, *info):
        """This version of process_distribution will force the package index to
        search for local distributions before going out to PyPI when processing
        a package's dependency.

        It will already do this for the first dependency, but not for
        subsequent dependencies--something I would consider a bug.
        """

        if self.package_index.to_scan is None:
            self.package_index.to_scan = []
        return easy_install.process_distribution(self, requirement, dist, deps, *info)
コード例 #4
0
    def process_distribution(self, requirement, dist, deps=True, *info):
        """This version of process_distribution will force the package index to
        search for local distributions before going out to PyPI when processing
        a package's dependency.

        It will already do this for the first dependency, but not for
        subsequent dependencies--something I would consider a bug.
        """

        if self.package_index.to_scan is None:
            self.package_index.to_scan = []
        return easy_install.process_distribution(self, requirement, dist, deps,
                                                 *info)
コード例 #5
0
ファイル: easy_install.py プロジェクト: agiledata/pkglib
 def process_distribution(self, requirement, dist, deps=True, *info):
     if dist in self.local_index[dist.key]:
         self.local_index.remove(dist)
     return _easy_install.process_distribution(self, requirement, dist, deps,
                                               *info)
コード例 #6
0
 def process_distribution(self, requirement, dist, deps=True, *info):
     if dist in self.local_index[dist.key]:
         self.local_index.remove(dist)
     return _easy_install.process_distribution(self, requirement, dist,
                                               deps, *info)