Dominique Pignon wrote:
> Bravo pour le guide d'installation!
> Je suppose que vous parlez français.
> J'ai installé pyrex suivant vos conseils
> tout se passe normalement
> l'exemple primes est installé dans /Lib/site_packages/primes.pyd
>
> le programme a été compilé
> mais je n'arrive pas à
Jim Lewis wrote:
> Thanks but now another problem :-(
> Examples in books show importing a global so why does below give:
> AttributeError: 'module' object has no attribute 'globalvar'
>
> primes.pyx:
> from run import globalvar
> def prime(int kmax):
> result = [run.globalvar]
> ...
>
> run.py
Gonzalo Monzón wrote:
> Does this happen if you're releasing, i.e. a built exe with py2exe,
> where you supply the right crt? or if you do supply the right crt on the
> application folder? ...
It does not matter which crt you "supply". The dynamic linker will
attempt to load the crt specified by
Hi,
sturlamolden escribió:
Gonzalo Monzón wrote:
>
>
>>I use Python 2.4.3 (msvcrt71) and I succesfully installed the last
>>version of binutils, pyrex and MinGW, some weeks ago, using Julien Fiore
>>step-by-step guide, so "my" MinGW is linking with msvcrt71.dll, with the
>>default configuratio
Gonzalo Monzón wrote:
> I use Python 2.4.3 (msvcrt71) and I succesfully installed the last
> version of binutils, pyrex and MinGW, some weeks ago, using Julien Fiore
> step-by-step guide, so "my" MinGW is linking with msvcrt71.dll, with the
> default configuration.
A successful build (compile an
Thanks but now another problem :-(
Examples in books show importing a global so why does below give:
AttributeError: 'module' object has no attribute 'globalvar'
primes.pyx:
from run import globalvar
def prime(int kmax):
result = [run.globalvar]
...
run.py:
from primes import prime
globalvar =
Jim Lewis wrote:
> Still problems :-(
>
> I have a directory c:\data\code\test\pyrex containing:
>
> build_and_install.bat:
> "C:\program files\Python\python.exe" setup.py build_ext
> --compiler=mingw32
> pause
> But running run.py gives: "ImportError: No module named worldimport"
>
> Should wo
Still problems :-(
I have a directory c:\data\code\test\pyrex containing:
build_and_install.bat:
"C:\program files\Python\python.exe" setup.py build_ext
--compiler=mingw32
pause
setup.py:
from distutils.core import setup
from distutils.extension import Extension
from Pyrex.Distutils import build
sturlamolden wrote:
> Julien Fiore wrote:
>
>>Thanks for your remark, Sturlamolden.
>>
>>Is there a free version of the "Visual C++ 2003" compiler available on
>>the web? I have found "Visual C++ 2005 Express edition"
>>(http://msdn.microsoft.com/vstudio/express/visualc/). According to
>>Micrsoft,
Robert Kern escribió:
>Gonzalo Monzón wrote:
>
>
>
>>I see there are both libraries linked in my pyrex modules... However,
>>when one should expect to have problems with this "dll nightmare", if
>>you always provide the right msvcr71.dll bundled within your project -I
>>mean, using py2exe by
Thanks. I had done that but it seems I had to remove "install". Now it
works.
--
http://mail.python.org/mailman/listinfo/python-list
Gonzalo Monzón wrote:
> I see there are both libraries linked in my pyrex modules... However,
> when one should expect to have problems with this "dll nightmare", if
> you always provide the right msvcr71.dll bundled within your project -I
> mean, using py2exe by example- ?
>
> Of course if y
Robert Kern escribió:
>Gonzalo Monzón wrote:
>
>
>>sturlamolden escribió:
>>
>>
>
>
>
>>>I don't think this is safe. MinGW links with msvcrt.dll whereas the
>>>main Python distribution links with msvcr71.dll (due to Visual C++
>>>2003). It is not safe to mix and blend different C runtime
Gonzalo Monzón wrote:
> sturlamolden escribió:
>>I don't think this is safe. MinGW links with msvcrt.dll whereas the
>>main Python distribution links with msvcr71.dll (due to Visual C++
>>2003). It is not safe to mix and blend different C runtime libraries.
>>If you are to build a C extension wit
Jim Lewis wrote:
>>and change "-lmsvcrt" to "-lmsvcr71".
>
> But then I get this error: Python was built with version 7.1 of Visual
> Studio, and extensions need to be built with the same version of the
> compiler, but it isn't installed.
> I want to use mingw.
You have to tell distutils to use m
sturlamolden wrote:
> sturlamolden wrote:
>
>>I don't think this is safe. MinGW links with msvcrt.dll whereas the
>>main Python distribution links with msvcr71.dll (due to Visual C++
>>2003).
>
> In order to make minGW link with msvcr71.dll, edit the text file
>
> c:\mingw\lib\gcc\mingw32\3.2.4\
sturlamolden escribió:
>Julien Fiore wrote:
>
>
>># step A.3 #
>>Install Mingw, the gcc compiler for Windows, available at
>>http://www.mingw.org/download.shtml. (we downloaded the file
>>MinGW-5.0.2.exe and installed only the "base tool" (this includes
>>mingw-runtime 3.9, w32api-3.6, binutils
> and change "-lmsvcrt" to "-lmsvcr71".
But then I get this error: Python was built with version 7.1 of Visual
Studio, and extensions need to be built with the same version of the
compiler, but it isn't installed.
I want to use mingw.
--
http://mail.python.org/mailman/listinfo/python-list
On 28 Apr 2006 01:06:55 -0700, Julien Fiore <[EMAIL PROTECTED]> wrote:
I added "step A.5" to the guide and published it on the Python wiki, sothat anyone can update it easily:http://wiki.python.org/moin/PyrexOnWindows
--http://mail.python.org/mailman/listinfo/python-listThanks to Julien and everyon
I added "step A.5" to the guide and published it on the Python wiki, so
that anyone can update it easily:
http://wiki.python.org/moin/PyrexOnWindows
--
http://mail.python.org/mailman/listinfo/python-list
sturlamolden wrote:
> edit the text file "c:\mingw\lib\gcc\mingw32\3.2.4\specs"
> and change "-lmsvcrt" to "-lmsvcr71".
Thank you very much sturlamolden,
This procedure should be added to the "step-by-step" guide (see 1st
message of this thread) as "step A.5".
For ignorant people like me, CRT =
sturlamolden wrote:
> I don't think this is safe. MinGW links with msvcrt.dll whereas the
> main Python distribution links with msvcr71.dll (due to Visual C++
> 2003).
In order to make minGW link with msvcr71.dll, edit the text file
c:\mingw\lib\gcc\mingw32\3.2.4\specs
and change "-lmsvcrt" to
Julien Fiore wrote:
> Thanks for your remark, Sturlamolden.
>
> Is there a free version of the "Visual C++ 2003" compiler available on
> the web? I have found "Visual C++ 2005 Express edition"
> (http://msdn.microsoft.com/vstudio/express/visualc/). According to
> Micrsoft, it replaces VC++2003
> (
Thanks for your remark, Sturlamolden.
Is there a free version of the "Visual C++ 2003" compiler available on
the web? I have found "Visual C++ 2005 Express edition"
(http://msdn.microsoft.com/vstudio/express/visualc/). According to
Micrsoft, it replaces VC++2003
(http://msdn.microsoft.com/visualc/
Julien Fiore wrote:
>
> # step A.3 #
> Install Mingw, the gcc compiler for Windows, available at
> http://www.mingw.org/download.shtml. (we downloaded the file
> MinGW-5.0.2.exe and installed only the "base tool" (this includes
> mingw-runtime 3.9, w32api-3.6, binutils 2.15.91 and gcc-core 3.4.2).
Julien Fiore wrote:
> Do you wand to install Pyrex on Windows ?
>
> Here is a step-by-step guide explaining:
>
> A) how to install Pyrex on Windows XP.
> B) how to compile a Pyrex module.
>
> Julien Fiore,
> U. of Geneva
Thanks. One detail missing : for this (step b3) to work smooth
To install Pyton, I simply used the python Windows installer
(python-2.4.2.msi) available at python.org.
Julien
--
http://mail.python.org/mailman/listinfo/python-list
Can you use the stock python build or do you have to build python from
scratch with mingw to use pyrex modules built with mingw?
--
http://mail.python.org/mailman/listinfo/python-list
Merci beaucoup !
Thank you very much!
--
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
29 matches
Mail list logo