Viewing file: __init__.py (1.79 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
from __future__ import absolute_import, unicode_literals
BUNDLE_SUPPORT = { "3.9": { "pip": "pip-20.0.2-py2.py3-none-any.whl", "setuptools": "setuptools-46.1.3-py3-none-any.whl", "wheel": "wheel-0.34.2-py2.py3-none-any.whl", }, "3.8": { "pip": "pip-20.0.2-py2.py3-none-any.whl", "setuptools": "setuptools-46.1.3-py3-none-any.whl", "wheel": "wheel-0.34.2-py2.py3-none-any.whl", }, "3.7": { "pip": "pip-20.0.2-py2.py3-none-any.whl", "setuptools": "setuptools-46.1.3-py3-none-any.whl", "wheel": "wheel-0.34.2-py2.py3-none-any.whl", }, "3.6": { "pip": "pip-20.0.2-py2.py3-none-any.whl", "setuptools": "setuptools-46.1.3-py3-none-any.whl", "wheel": "wheel-0.34.2-py2.py3-none-any.whl", }, "3.5": { "pip": "pip-20.0.2-py2.py3-none-any.whl", "setuptools": "setuptools-46.1.3-py3-none-any.whl", "wheel": "wheel-0.34.2-py2.py3-none-any.whl", }, "3.4": { "pip": "pip-19.1.1-py2.py3-none-any.whl", "setuptools": "setuptools-43.0.0-py2.py3-none-any.whl", "wheel": "wheel-0.33.6-py2.py3-none-any.whl", }, "2.7": { "pip": "pip-20.0.2-py2.py3-none-any.whl", "setuptools": "setuptools-44.1.0-py2.py3-none-any.whl", "wheel": "wheel-0.34.2-py2.py3-none-any.whl", }, } MAX = "3.9"
# Debian specific: Update BUNDLE_SUPPORT to match pip wheels shipped in # /usr/share/python-wheels for base install + pkg_resources. import os wheel_dict = {} for wheel in os.listdir('/usr/share/python-wheels'): if wheel.split('-')[0] in ['pip', 'setuptools', 'pkg_resources', 'wheel']: wheel_dict[wheel.split('-')[0]] = wheel
bundle = {} for key, val in BUNDLE_SUPPORT.items(): bundle[key] = wheel_dict BUNDLE_SUPPORT = bundle
|