Skip to content

Commit

Permalink
Leaving out distutils.utils. Breaks sanic.
Browse files Browse the repository at this point in the history
New version of Sanic uses distutils.utils.strtobool.
Hence I'm going to leave distutils.utils in place for now
and file a PR to Sanic to reimlement those 3 lines of code.
I understand it's part of stdlib and it's natual to borrow
it but it looks odd to use distutils in mainline code.
  • Loading branch information
haizaar committed Apr 2, 2019
1 parent 0b0be44 commit 03d05b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN set -ex && \
rm -rf *.o *.a
RUN rm -rf /usr/local/lib/python*/ensurepip
RUN rm -rf /usr/local/lib/python*/idlelib
RUN rm -rf /usr/local/lib/python*/distutils
RUN rm -rf /usr/local/lib/python*/distutils/command
RUN rm -rf /usr/local/lib/python*/lib2to2
RUN rm -rf /usr/local/lib/python*/__pycache__/*
RUN find /usr/local/include/python* -not -name pyconfig.h -type f -exec rm {} \;
Expand Down

0 comments on commit 03d05b1

Please sign in to comment.