def __init__(self, py_ver: PyVer, platform, system, *args, **kwargs): self.context = context(py_ver, platform, system) self.context_wheel = self.context.copy() self.context_wheel['extra'] = None self.py_ver_digits = py_ver.digits() self.platform = platform self.system = system
def __init__(self, py_ver: PyVer, platform, system, *args, **kwargs): self.context = context(py_ver, platform, system) self.context_wheel = self.context.copy() self.context_wheel['extra'] = None self.py_ver = py_ver self.py_ver_parsed = parse_ver(py_ver.python_full_version()) self.py_ver_digits = py_ver.digits() self.platform = platform self.system = system
def __init__(self, py_ver: PyVer, data_dir, *args, **kwargs): super(DependencyDB, self).__init__(*args, **kwargs) self.data = LazyBucketDict(data_dir) self.context = context(py_ver) self.py_ver_digits = py_ver.digits() for name, releases in self.data.items(): key = self._unify_key(name) if key != name: self.data[key] = self.data[name] del self.data[name]
def __init__(self, py_ver: PyVer, *args, **kwargs): self.context = context(py_ver) self.context_wheel = self.context.copy() self.context_wheel['extra'] = None self.py_ver_digits = py_ver.digits()