diff options
author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2023-04-24 11:28:48 +0100 |
---|---|---|
committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2023-04-24 11:28:48 +0100 |
commit | 8b4830d21dad97fc1bb69342e8dc6952b56df092 (patch) | |
tree | 0840f7b263967e04edc1961d028479bdb4da1b11 | |
parent | 76749f8f76f4d93c6e3fed0b51a41eced4830987 (diff) | |
download | python-setuptools-git-8b4830d21dad97fc1bb69342e8dc6952b56df092.tar.gz |
Avoid bitly links
-rw-r--r-- | setuptools/command/easy_install.py | 2 | ||||
-rw-r--r-- | setuptools/package_index.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 29e424a8..8497bbdb 100644 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -1845,7 +1845,7 @@ def _update_zipimporter_cache(normalized_path, cache, updater=None): # get/del patterns instead. For more detailed information see the # following links: # https://github.com/pypa/setuptools/issues/202#issuecomment-202913420 - # http://bit.ly/2h9itJX + # https://foss.heptapod.net/pypy/pypy/-/blob/144c4e65cb6accb8e592f3a7584ea38265d1873c/pypy/module/zipimport/interp_zipimport.py old_entry = cache[p] del cache[p] new_entry = updater and updater(p, old_entry) diff --git a/setuptools/package_index.py b/setuptools/package_index.py index 06b78ac6..b992048c 100644 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -402,7 +402,8 @@ class PackageIndex(Environment): return True msg = ( "\nNote: Bypassing %s (disallowed host; see " - "http://bit.ly/2hrImnY for details).\n" + "https://setuptools.pypa.io/en/latest/deprecated/" + "easy_install.html#restricting-downloads-with-allow-hosts for details).\n" ) if fatal: raise DistutilsError(msg % url) |