r 29606: python25

Weissmann Markus mww at macports.org
Thu Oct 4 15:09:48 PDT 2007


On 05.10.2007, at 00:03, N_Ox wrote:

> Le 4 oct. 07 à 19:49, Weissmann Markus a écrit :
>
>> On 04.10.2007, at 15:17, N_Ox wrote:
>>
>>>
>>> Le 4 oct. 07 à 15:05, Jyrki Wahlstedt a écrit :
>>>
>>>>
>>>> On 4.10.2007, at 15.51, N_Ox wrote:
>>>>
>>>>>
>>>>> Le 4 oct. 07 à 13:04, Jyrki Wahlstedt a écrit :
>>>>>
>>>>>>
>>>>>> On 4.10.2007, at 13.42, N_Ox wrote:
>>>>>>
>>>>>>> Le 4 oct. 07 à 12:26, Jyrki Wahlstedt a écrit :
>>>>>>>
>>>>>>>> <snip>
>>>>>>>
>>>>>>> What is the framework install really needed?
>>>>>>
>>>>>> E.g. py25-wxpython…
>>>>>>
>>>>>
>>>>> So that's py25-wxpython which is having a problem. No port  
>>>>> should require modifications on other ports to install.
>>>>>
>>>> I wouldn't do this conclusion. It is clearly stated in wxPython  
>>>> documentation. Moreover, framework install is something that  
>>>> should work, even if it isn't used…
>>>>
>>>
>>> But you do need to go around modifying the python25 Portfile.
>>> I haven't said these softwares are broken, just their ports ;)
>>>
>>
>> The problem is that the parts of Python that make processes able  
>> to use the Mac OS X GUI are only built IF Python is build as a  
>> framework.
>> This seems to be a "feature" of Python. We don't need the  
>> framework installation - en contraire. But we do need the "make- 
>> the-GUI-accessible" parts. If someone knows how to enable those w/ 
>> o enabling the framework build, I'll be more than happy!
>>
>>
>> -Markus
>
> Could you tell us which are those parts?
> Are you talking about IDLE?
>
> I would also like to be able to provide users a perfect python port,
> so let's brainstorm all of this mess.
>

I didn't dig into this far enough, the thing simply is that starting  
a Python program that wants to use the GUI -- e.g. via py-game (SDL)  
or py-wxwidgets (wxWidgets) -- must use the "pythonw" executable.  
This is only available in the framework build.


-Markus

---
Markus W. Weissmann
http://www.mweissmann.de/





More information about the macports-dev mailing list