Comment 2 for bug 402933

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 402933] Re: unable to easy_install on windows

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
> On Thu, 2009-10-01 at 14:05 +0000, Vincent Ladeuil wrote:
>> ** Project changed: bzr => bzr-windows-installers
>
> vila - surely this is a core part of bzr? I'm not sure why easy_install
> would be a separate project's problem...
>
> -Rob
>

According to the traceback, the issue is that we *don't* compile
win32.pyx => win32.c on Linux. We don't do that in setup.py because
there is no way (that I've seen) to say "run pyrexc, but *don't* run gcc".

We know that gcc will fail because it won't have the win32 system libraries.

If we switched to versioning the .c files and a separate .pyx => .c from
.c => .o/.so/.pyd process, then we could tell the system to do step one
but not step 2. (Similarly, we don't build _readdir.pyx => _readdir.c on
Windows.)

In the short term, I'm pretty user the user can "easy_install pyrex"
first, and then "easy_install bzr" will work.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrF/cQACgkQJdeBCYSNAAO6XgCfbdKoCKo5ITnLayDiLaDNVb1C
Q20AoNWca97AzGCo7xLAZE5tfn36o/nC
=MkRF
-----END PGP SIGNATURE-----