Opened 17 years ago

Closed 16 years ago

Last modified 15 years ago

#12817 closed defect (fixed)

python25 package is missing pythonw

Reported by: macosforge.org@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: python25 pythonw Cc: macosforge.org@…, mww@…, nox@…, mdickens@…, mf2k (Frank Schima)
Port:

Description

The package python25 doesn't create a pythonw2.5 binary so it's not possible to do any GUI stuff with Python 2.5, this effectively makes other packages like py25-wxpython unusable.

Change History (6)

comment:1 Changed 17 years ago by nox@…

Cc: macosforge.org@… mww@… nox@… added
Milestone: Port Bugs
Owner: changed from macports-dev@… to mww@…

What is pythonw?

comment:2 Changed 17 years ago by jo.irisson@…

pythonw is a special executable needed on OS X so that python programs with a GUI (e.g. those using wxWidgets) can access the display. Apparently it is only produced when python is compiled with --enable-framework. This configuration option is set for python24 but not for python25 (and removing --disbale-framework + adding only --enable-framework to python25 Portfile does not work: there are compilation errors currently. Given how different the Portfile for 2.4 is, it is likely that the framework/no-framework switch is not easy). The lack of pythonw indeed makes pyton25 less than usable. Since some ports require it, it quickly becomes a pain: one must have two installs of python in parallel, 2.5 for some ports and 2.4 for the one which require graphics (well, even three actually with the System one). It would be really nice to have all python ports (python24, python25, python26) behave the same way (and if possible, the Mac-way i.e. compile as frameworks) and only choose one of these (have the install of 2.5 deactivate 2.4 etc.). Indeed, the lack of --enable-framework is apparently justified by the fact that python25 would otherwise conflict with 2.4. I would favor the use case where one installs a newer version which _replaces_ the old one. Plus, since the Frameworks are usually versionned (i.e. there is would be Versions/2.4/ and Versions/2.5/ folders) I don't understand how they would conflict.

comment:3 Changed 16 years ago by mdickens@…

Please see ticket:11267 for more discussion, and a possible solution that allows for both +framework and dylib (per ticket:12803).

Could someone add me to the "cc:" list? I'd like to know what's going on with the Python25, +framework, and dylib issues.

comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mdickens@… macsforever2000@… added

Frank Schima mentioned this again on macports-users.

comment:5 Changed 16 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Fixed by resolving #11267.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.