예제 #1
0
 def __init__(self, project: Project) -> None:
     self.python_requires = project.python_requires
     self.project = project
     self.interpreter = PythonInfo.from_path(sys.executable)
     self.auth = make_basic_auth(
         self.project.sources, self.project.core.ui.verbosity >= termui.DETAIL
     )
예제 #2
0
 def __init__(self, project: Project) -> None:
     """
     :param project: the project instance
     """
     self.python_requires = project.python_requires
     self.project = project
     self._essential_installed = False
     self.auth = make_basic_auth(self.project.sources,
                                 stream.verbosity >= stream.DETAIL)
예제 #3
0
 def __init__(self, project: Project) -> None:
     """
     :param project: the project instance
     """
     self.python_requires = project.python_requires
     self.project = project
     self.interpreter = project.python
     self.auth = make_basic_auth(
         self.project.sources, self.project.core.ui.verbosity >= termui.DETAIL
     )
예제 #4
0
 def __init__(self, project: Project) -> None:
     """
     :param project: the project instance
     """
     self.python_requires = project.python_requires
     self.project = project
     self.python_executable = project.python_executable
     self._essential_installed = False
     self.auth = make_basic_auth(
         self.project.sources,
         self.project.core.ui.verbosity >= termui.DETAIL)