delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/18/08:10:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 18 Mar 2003 08:18:50 -0500
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: Building a win32 python extension from cygwin?
In-reply-to: <20030317224923.PEAK25330.imf23bis.bellsouth.net@tiger2>
To: cygwin AT cygwin DOT com
Mail-followup-to: cygwin AT cygwin DOT com
Message-id: <20030318131849.GB1968@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <20030317224923 DOT PEAK25330 DOT imf23bis DOT bellsouth DOT net AT tiger2>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019