base: drop commented part about site-packages in Ubuntu
Turned out that since we commented mangling of system-wide Python packages nothing broke. So let's get rid of that part. Change-Id: I9e3a4424c584fb14cca50bb0b9392f7227161acc
This commit is contained in:
parent
f870f058d6
commit
374652d2d3
|
@ -399,20 +399,6 @@ RUN apt-get update \
|
|||
&& rm -rf /var/lib/apt/lists/*
|
||||
{% endblock %}
|
||||
|
||||
# FIXME(mgoddard): Some images, including Horizon, depend on Ubuntu having a
|
||||
# site-packages directory.
|
||||
#{% if base_distro == 'ubuntu' %}
|
||||
#RUN sed -i \
|
||||
# -e "s|\('purelib': '\$base/\)local/\(lib/python\$py_version_short/dist-packages',\)|\1\2|" \
|
||||
# -e "s|\('platlib': '\$platbase/\)local/\(lib/python\$py_version_short/dist-packages',\)|\1\2|" \
|
||||
# -e "s|\('headers': '\$base/\)local/\(include/python\$py_version_short/\$dist_name',\)|\1\2|" \
|
||||
# -e "s|\('scripts': '\$base/\)local/\(bin',\)|\1\2|" \
|
||||
# -e "s|\('data' : '\$base\)/local\(',\)|\1\2|" \
|
||||
# /usr/lib/python{{ distro_python_version }}/distutils/command/install.py \
|
||||
# && rm -rf /usr/lib/python{{ distro_python_version }}/site-packages \
|
||||
# && ln -s dist-packages /usr/lib/{{ distro_python_version }}/site-packages
|
||||
#{% endif %}
|
||||
|
||||
{# endif base_package_type deb #}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue