Layer python2_core

Overview

The python2_core layer includes a minimal (C) Python2 distribution.

Some additional packages are installed to be able to use pip and virtualenv commands.

Other packages are put in the (main) python2 layer.

This layer is not loaded by default and conflicts with python3_core layer. So you have to use layer_wrapper or bash layer_load before using included packages.

Note: there is also a python2 wrapper available in the root layer which is the way to go if you want to execute a python2 script without any question about currently loaded layers.

Metadata

Layer Home

/opt/metwork-mfext-0.4/opt/python2_core

Dependencies

Extra-environnement (loaded after layer load)

PYTHON=/opt/metwork-mfext-0.4/opt/python2_core/bin/python2
METWORK_PYTHON_MODE=2
PYTHON_SHORT_VERSION={PYTHON2_SHORT_VERSION}
PYTHONUNBUFFERED=x

Utilities

download_compile_requirements

usage: download_compile_requirements /path/to/requirements.txt

freeze_requirements

usage: freeze_requirements /path/to/requirements.txt

install_requirements

usage: install_requirements /prefix/path /path/to/requirements.txt [INDEX_DIR]

Packages

Name Version Description Home-Page
Python 2.7.9 PYTHON est un langage de script oriente objet http://python.org/
appdirs 1.4.3 WEBSITE=http://github.com/ActiveState/appdirs  
certifi 2018.10.15 Python package for providing Mozilla s CA Bundle (patched for centos) https://certifi.io
packaging 16.8 Core utilities for Python packages https://github.com/pypa/packaging
pip 9.0.1 The PyPA recommended tool for installing Python packages. https://pip.pypa.io/
pyparsing 2.2.0 A Python Parsing Module http://pyparsing.wikispaces.com/
setuptools 38.2.4 PYTHON_SETUPTOOLS est un outil pour gerer des packages Python https://pypi.python.org/pypi/setuptools
six 1.11.0 Une bibliotheque de compatibilite entre Python 2 et Python 3. Requis par differents modules python. https://pypi.python.org/pypi/six/
virtualenv 15.1.0 Virtual Python Environment builder https://virtualenv.pypa.io/
wheel 0.30.0 A built-package format for Python. https://github.com/pypa/wheel

(10 packages)