This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building a win32 python extension from cygwin?


Greg,

Note my experience building Win32 Python extensions is *very* limited.
It is mainly limited to building the readline module every year or so
when the next major version of Python is released...

BTW, you may have better luck on the Python or Distutils list.

On Mon, Mar 17, 2003 at 05:51:33PM -0500, Greg Freemyer wrote:
> I want to use a python deployment program like installer to package it
> up so I don't have to install cygwin/python on all my servers.

What is "installer"?

> Unfortunately, installer is apparently broken for cygwin currently.

What is broken?

> Unfortunately the import command is not working due to the format of
> the dll I am generating.

Error messages?  Build command lines?

> I've done a bunch of googling, but I can't find any straight forward
> instructions on what is needed for this to all work out.

I found the following via Google:

    http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/82826
    http://www.python.org/doc/current/inst/non-ms-compilers.html

Are you using the --compiler=mingw32 option?  For example:

    $ python setup.py build --compiler=mingw32

> Does anyone know where this is documented?

See above.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]