From 550fd2875d875c75b7bf56a8b1c7d6a12be20d0f Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Fri, 16 Mar 2018 15:02:12 -0700 Subject: [PATCH] Reword per @betatim review --- repo2docker/buildpacks/python/__init__.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/repo2docker/buildpacks/python/__init__.py b/repo2docker/buildpacks/python/__init__.py index ee3a64e2..52437850 100644 --- a/repo2docker/buildpacks/python/__init__.py +++ b/repo2docker/buildpacks/python/__init__.py @@ -7,7 +7,13 @@ from ..base import BaseImage class PythonBuildPack(BaseImage): """Setup Python 3 for use with a repository.""" def get_packages(self): - """Return list of Python3 packages to be installed.""" + """Return a list of the Python 3 core language packages to be installed + via apt-get for this BuildPack. + + Note: The packages specified here are for the core Python3 language. + Third party libraries are specified in other configuration files. + + """ return super().get_packages().union({ 'python3', 'python3-venv', @@ -137,7 +143,13 @@ class PythonBuildPack(BaseImage): class Python2BuildPack(PythonBuildPack): """Setup Python 2 for use with a repository.""" def get_packages(self): - """Return list of Python 2 packages to be installed.""" + """Return a list of the Python 2 core language packages to be installed + via apt-get for this BuildPack. + + Note: The packages specified here are for the core Python2 language. + Third party libraries are specified in other configuration files. + + """ return super().get_packages().union({ 'python', 'python-dev',