Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Mon, 30 Apr 2001 10:36:16 -0400
From: Jason Tishler <Jason.Tishler@dothill.com>
To: Mark Hadfield <m.hadfield@niwa.cri.nz>
Cc: Cygwin Mailing List <cygwin@cygwin.com>,
        Robert Yodlowski <RYodlowski@Pirus.com>
Subject: Re: Cygwin Python 2.1, Numeric package, exporting init<module> methods
Message-ID: <20010430103616.D593@dothill.com>
Mail-Followup-To: Mark Hadfield <m.hadfield@niwa.cri.nz>,
	Cygwin Mailing List <cygwin@cygwin.com>,
	Robert Yodlowski <RYodlowski@Pirus.com>
References: <007c01c0d0fd$ff878a30$d938a8c0@Hadfield>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <007c01c0d0fd$ff878a30$d938a8c0@Hadfield>; from m.hadfield@niwa.cri.nz on Mon, Apr 30, 2001 at 10:44:49AM +1200
Organization: Dot Hill Systems Corp.

Mark,

On Mon, Apr 30, 2001 at 10:44:49AM +1200, Mark Hadfield wrote:
> As I said above, would like to have Numeric Python working on Cygwin Python
> OOTB. I'm not sure that it's reasonable to ask the maintainers to add the
> DL_EXPORT macro to all module init functions, so I guess the .def files are
> the way to go.

IMO, submitting a patch to the Numpy maintainers using the DL_EXPORT
macro approach is the way to go.  This is the approach that I used
successfully for numerous standard Python modules.  See the following
for Tim Peters assessment of this approach:

    http://mail.python.org/pipermail/python-dev/2001-February/013292.html

I have also successfully used this with the Python LDAP module:

    http://www.geocrawler.com/archives/3/1568/2001/3/0/5307464/

Why don't you try the Numpy maintainers and see what they have to say?
Since they already support a Win32 port, I can't imagine much resistance
on their part.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

