diff --git a/setup.py b/setup.py index d461a09a..a502b61f 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup(name='kibot', # Packages are marked using __init__.py packages=find_packages(), scripts=['src/kibot', 'src/kiplot'], - install_requires=['kiauto', 'pyyaml', 'xlsxwriter', 'colorama', 'requests'], + install_requires=['kiauto', 'pyyaml', 'xlsxwriter', 'colorama', 'requests', 'distutils'], classifiers=['Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Developers', diff --git a/tools/dev_image/Dockerfile b/tools/dev_image/Dockerfile index 7b645ed2..57208de7 100644 --- a/tools/dev_image/Dockerfile +++ b/tools/dev_image/Dockerfile @@ -4,7 +4,8 @@ LABEL Description="KiCad with KiBot and other automation scripts" RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list && \ apt-get update && \ - apt-get -y install -t buster-backports make wget curl rar bzip2 librsvg2-bin python3-pip unzip && \ + apt-get -y install -t buster-backports make wget curl rar bzip2 librsvg2-bin && \ + apt-get -y install python3-pip python3-distutils unzip && \ apt-get -y install --no-install-recommends imagemagick && \ curl -s https://api.github.com/repos/INTI-CMNB/KiAuto/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \ curl -s https://api.github.com/repos/INTI-CMNB/KiBoM/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \