Issue1584
Created on 2007-12-11 04:04 by ceball, last changed 2009-05-12 02:09 by r.david.murray.
|
msg58413 - (view) |
Author: C. E. Ball (ceball) |
Date: 2007-12-11 04:04 |
|
On OS X, I wanted to build my own copy of Python that used my own copy
of Tkinter (built for X11).
To do this, I passed "LDFLAGS=-rpath,/path/to/lib" to configure so that
Python could find my specific lib files, but I also had to edit Python's
setup.py so that detect_tkinter() would not do anything special for Darwin:
$ diff setup.py original_setup.py
1199c1199
< if 0 and (platform == 'darwin' and
---
> if (platform == 'darwin' and
I did this based on a post by Ronald Oussoren to the Python-SIG Mac
mailing list [http://article.gmane.org/gmane.comp.python.apple/14008].
He also suggested that I file a bug report, asking for an argument to be
added to python's configure script to avoid having to edit setup.py.
Thanks
|
|
msg58421 - (view) |
Author: Christian Heimes (christian.heimes) |
Date: 2007-12-11 09:04 |
|
The problem is already fixed in svn. Can you download a svn checkout and
verify it that the code is working?
41848 skip.montanaro if (platform == 'darwin' and
|
|
msg58439 - (view) |
Author: Georg Brandl (georg.brandl) |
Date: 2007-12-11 16:28 |
|
Crys: look closely at the diff, the "0 and " is in the modified file.
|
|
msg58479 - (view) |
Author: C. E. Ball (ceball) |
Date: 2007-12-12 00:11 |
|
I apologize for the confusion: I put the modified file first and the
original second.
Sorry about that!
An option to do nothing special to find Tk and Tcl on darwin is what
would be useful.
|
|
msg84476 - (view) |
Author: R. David Murray (r.david.murray) |
Date: 2009-03-30 03:19 |
|
Reopening since additional feedback was provided clarifying the request.
How does this request interact with the business about building the Mac
installer with a local tk installed? Does the fact that that does
something useful mean that this request is in fact out of date? Looking
at the setup.py comments, I suspect not.
|
|
msg84562 - (view) |
Author: Ronald Oussoren (ronaldoussoren) |
Date: 2009-03-30 15:15 |
|
Adding support for building an X11 version of Tkinter would require an
explicit flag to configure, defaulting to a build that uses AquaTk (which
most people would like to use).
I'm not interested in creating a patch for this, but am willing to review
patches for this.
|
|
| Date |
User |
Action |
Args |
| 2009-05-12 02:09:59 | r.david.murray | set | nosy:
- r.david.murray
|
| 2009-03-30 15:15:22 | ronaldoussoren | set | nosy:
+ ronaldoussoren messages:
+ msg84562
|
| 2009-03-30 03:19:56 | r.david.murray | set | status: pending -> open
nosy:
+ r.david.murray versions:
+ Python 3.1, Python 2.7, - Python 2.5 messages:
+ msg84476 resolution: out of date ->
type: behavior -> feature request |
| 2007-12-12 00:11:44 | ceball | set | messages:
+ msg58479 |
| 2007-12-11 16:28:32 | georg.brandl | set | nosy:
+ georg.brandl messages:
+ msg58439 |
| 2007-12-11 09:04:21 | christian.heimes | set | status: open -> pending priority: normal resolution: out of date messages:
+ msg58421 nosy:
+ christian.heimes |
| 2007-12-11 04:04:58 | ceball | create | |
|