New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12817 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

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@…, macsforever2000@…
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

Changed 5 years ago by nox@…

  • owner changed from macports-dev@… to mww@…
  • cc macosforge.org@…, mww@…, nox@… added
  • milestone set to Port Bugs

What is pythonw?

Changed 5 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.

Changed 4 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.

Changed 4 years ago by ryandesign@…

  • cc mdickens@…, macsforever2000@… added

Frank Schima  mentioned this again on macports-users.

Changed 4 years ago by raimue@…

  • status changed from new to closed
  • resolution set to fixed

Fixed by resolving #11267.

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.