[Pyrex] problem building simple package with extensions in Windows, but not OS X
Brian Blais
bblais at bryant.edu
Thu Jan 10 11:53:39 CET 2008
thanks! that did the trick!
bb
On Jan 9, 2008, at Jan 9:5:14 PM, Lenard Lindstrom wrote:
> Brian Blais wrote:
>> Hello,
>>
>> I am trying to build a package of mine, and for some reason the build
>> process with distutils is failing in Windows, but not in OS X (and I
>> imagine also in Linux, but I haven't tested it).
>> Cannot export initmyproject/train: symbol not defined
>> collect2: ld returned 1 exit status
>> error: command 'gcc' failed with exit status 1
>>
>>
> In setup.py try replacing:
>
> Extension("myproject/train",["myproject/train.pyx"]),
>
> with:
>
> Extension("myproject.train",["myproject/train.pyx"]),
>
>
--
Brian Blais
bblais at bryant.edu
http://web.bryant.edu/~bblais
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.copyleft.no/pipermail/pyrex/attachments/20080110/88814438/attachment.html
More information about the Pyrex
mailing list