shengyunHuang / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

include a distutils configuration #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PythonXY already comes with the Mingw32 Compiler.

According to
http://www.scipy.org/Cookbook/CompilingExtensionsOnWindowsWithMinGW
one needs to configure the distutils to work with the compiler before being
able to comile python modules on windows.

This should be already done by the installer.

Install the attached file to:
pythonxy\python\Lib\distutils\

Original issue reported on code.google.com by tim.mich...@gmail.com on 8 Sep 2008 at 11:35

Attachments:

GoogleCodeExporter commented 9 years ago
That is not really necessary because - to the best of my knowledge - that is
equivalent to specify the --compiler=mingw32 option when building a module. So
basically, without this configuration thing, the user is free to use MinGW or 
MSVC
7.1, or any other compiler.

Original comment by pierre.raybaut on 11 Sep 2008 at 2:26

GoogleCodeExporter commented 9 years ago

Original comment by pierre.raybaut on 12 Sep 2008 at 5:55

GoogleCodeExporter commented 9 years ago
I complied a package with:

python.exe setup.py --compiler=mingw32 bdist_wininst

and got:

error: option --compiler not recognized
Das System kann die angegebene Datei nicht finden.

Original comment by tim.mich...@gmail.com on 13 Nov 2008 at 10:50

GoogleCodeExporter commented 9 years ago
But with the tutorial at:
http://www.scipy.org/Cookbook/CompilingExtensionsOnWindowsWithMinGW
it works.

Original comment by tim.mich...@gmail.com on 13 Nov 2008 at 10:56