Skip to content

Commit 34a37be

Browse files
committed
Merge pull request #137 from stonebig/master
mingwpy compatibility
2 parents f458db0 + 531d2c2 commit 34a37be

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

make.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,10 @@ def _create_batch_scripts(self):
680680
IF "%WINPYXX%"=="27" set WINPYSPEC=specs90
681681
682682
cd %WINPYDIR%
683+
684+
if not exist ..\tools\mingw32 echo no_mingw_in_tools
685+
if not exist ..\tools\mingw32 goto no_mingw_in_tools
686+
683687
copy /Y ..\tools\mingw32\%BASEMINGW%\lib\%WINPYMSVCR% libs\%WINPYMSVCR%
684688
685689
REM copy the right version of gcc
@@ -695,6 +699,9 @@ def _create_batch_scripts(self):
695699
..\tools\mingw32\bin\dlltool -D python%WINPYXX%.dll -d python%WINPYXX%.def -l libpython%WINPYXX%.dll.a
696700
move /Y libpython%WINPYXX%.dll.a libs
697701
del python%WINPYXX%.def
702+
703+
:no_mingw_in_tools
704+
698705
"""
699706

700707
self.create_batch_script('Find_And_replace.vbs', r"""

winpython/data/packages.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,10 @@ description=Implements a XML/HTML/XHTML Markup safe string for Python
240240
[matplotlib]
241241
description=2D plotting library (embeddable in GUIs created with PyQt)
242242
243+
[mingwpy]
244+
description=the python friendly windows compiler toolchain
245+
url=https://anaconda.org/carlkl/mingwpy
246+
243247
[mistune]
244248
description=The fastest markdown parser in pure Python, inspired by marked.
245249

0 commit comments

Comments
 (0)