def __init__(self, url='https://pypi.org/', disable_cache=False, fallback=True):
    super(PyPiRepository, self).__init__((url.rstrip('/') + '/simple/'))
    self._base_url = url
    self._disable_cache = disable_cache
    self._fallback = fallback
    release_cache_dir = (REPOSITORY_CACHE_DIR / 'pypi')
    self._cache = CacheManager({'default': 'releases', 'serializer': 'json', 'stores': {'releases': {'driver': 'file', 'path': str(release_cache_dir)}, 'packages': {'driver': 'dict'}}})
    self._cache_control_cache = FileCache(str((release_cache_dir / '_http')))
    self._name = 'PyPI'
def __init__(self, url='https://pypi.org/', disable_cache=False, fallback=True):
    super(PyPiRepository, self).__init__((url.rstrip('/') + '/simple/'))
    self._base_url = url
    self._disable_cache = disable_cache
    self._fallback = fallback
    release_cache_dir = (REPOSITORY_CACHE_DIR / 'pypi')
    self._cache = CacheManager({'default': 'releases', 'serializer': 'json', 'stores': {'releases': {'driver': 'file', 'path': str(release_cache_dir)}, 'packages': {'driver': 'dict'}}})
    self._cache_control_cache = FileCache(str((release_cache_dir / '_http')))
    self._name = 'PyPI'