[Patches] [ python-Patches-1411588 ] Add DarwinPorts directories to setup.py

SourceForge.net noreply at sourceforge.net
Mon Jan 23 17:47:14 CET 2006


Patches item #1411588, was opened at 2006-01-21 11:40
Message generated for change (Comment added) made by bwarsaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1411588&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
>Status: Closed
>Resolution: Rejected
Priority: 5
Submitted By: Barry A. Warsaw (bwarsaw)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add DarwinPorts directories to setup.py

Initial Comment:
In this thread:

http://mail.python.org/pipermail/python-dev/2006-January/059838.html

It was brought up that Python doesn't build readline
properly on MacOS X.  This patch adds DarwinPorts
include and lib directories on the appropriate paths in
the setup.py script, which just happens <wink> to have
the side-effect of getting a usable readline module built.


----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2006-01-23 11:47

Message:
Logged In: YES 
user_id=12800

I wasn't developing on the Mac at the time, so I'm sure I
paid no attention to this change. ;)  I can see the wisdom
of Brett's change, but OTOH I do think it makes sense to
allow configure; make to Just Work.

I suppose the right answer is to leave Brett's changes in
and not add this patch.  Ultimately there should be only one
way to do it.  Rejecting & closing.

----------------------------------------------------------------------

Comment By: Trent Mick (tmick)
Date: 2006-01-23 11:39

Message:
Logged In: YES 
user_id=34892

Barry,
Brett specifically *removed* the Fink and DarwinPorts dirs
from setup.py for the more generic mechanism (that Ronald
described) in this change:
http://svn.python.org/view?rev=37988&view=rev

My personal preference is for the current state (don't
automatically pick up Fink and DarwinPorts stuff) but I can
see the case for wanting this stuff to "just work" for naive
usage of "./configure; make".



----------------------------------------------------------------------

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-01-23 09:43

Message:
Logged In: YES 
user_id=580910

I don't really like this, although this would give DP the same treatment as Fink. 

IMHO it would be better to search in the directories provided in LDFLAGS and/or 
OPT, that way users can choose if they want to use software from DP (or Fink).

Most of the required functionality seems to be there already. The only thing 
that's missing is enhancing variables like search_for_ssl_incs_in based on the 
include directories in OPT, but that's not necessary to pick up readline support.

E.g. '.../configure ... OPT=-I/opt/local/include LDFLAGS=-L/opt/local/include' 
should do the trick without patching python.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1411588&group_id=5470


More information about the Patches mailing list