@@ -37,17 +37,17 @@ RUN set -x \
3737 && winetricks win7 \
3838 && for msifile in `echo core dev exe lib path pip tcltk tools`; do \
3939 wget -nv "https://www.python.org/ftp/python/$PYTHON_VERSION/win32/${msifile}.msi"; \
40- wine msiexec /i "${msifile}.msi" /qb TARGETDIR=C:/Python37 ; \
40+ wine msiexec /i "${msifile}.msi" /qb TARGETDIR=C:/Python ; \
4141 rm ${msifile}.msi; \
4242 done \
43- && cd /wine/drive_c/Python37 \
44- && echo 'wine '\''C:\Python37 \python.exe'\'' "$@"' > /usr/bin/python \
45- && echo 'wine '\''C:\Python37 \Scripts\easy_install.exe'\'' "$@"' > /usr/bin/easy_install \
46- && echo 'wine '\''C:\Python37 \Scripts\pip.exe'\'' "$@"' > /usr/bin/pip \
47- && echo 'wine '\''C:\Python37 \Scripts\pyinstaller.exe'\'' "$@"' > /usr/bin/pyinstaller \
48- && echo 'wine '\''C:\Python37 \Scripts\pyupdater.exe'\'' "$@"' > /usr/bin/pyupdater \
43+ && cd /wine/drive_c/Python \
44+ && echo 'wine '\''C:\Python \python.exe'\'' "$@"' > /usr/bin/python \
45+ && echo 'wine '\''C:\Python \Scripts\easy_install.exe'\'' "$@"' > /usr/bin/easy_install \
46+ && echo 'wine '\''C:\Python \Scripts\pip.exe'\'' "$@"' > /usr/bin/pip \
47+ && echo 'wine '\''C:\Python \Scripts\pyinstaller.exe'\'' "$@"' > /usr/bin/pyinstaller \
48+ && echo 'wine '\''C:\Python \Scripts\pyupdater.exe'\'' "$@"' > /usr/bin/pyupdater \
4949 && echo 'assoc .py=PythonScript' | wine cmd \
50- && echo 'ftype PythonScript=c:\Python37 \python.exe "%1" %*' | wine cmd \
50+ && echo 'ftype PythonScript=c:\Python \python.exe "%1" %*' | wine cmd \
5151 && while pgrep wineserver >/dev/null; do echo "Waiting for wineserver"; sleep 1; done \
5252 && chmod +x /usr/bin/python /usr/bin/easy_install /usr/bin/pip /usr/bin/pyinstaller /usr/bin/pyupdater \
5353 && (pip install -U pip || true) \
0 commit comments